pda/zhuike/src/main/res/layout/fragment_jingxuan.xml

329 lines
12 KiB
XML
Raw Normal View History

2019-02-01 09:19:44 +08:00
<?xml version="1.0" encoding="utf-8"?>
2019-02-02 17:27:23 +08:00
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2019-02-01 09:19:44 +08:00
xmlns:app="http://schemas.android.com/apk/res-auto"
2019-02-21 00:01:55 +08:00
xmlns:tools="http://schemas.android.com/tools"
2019-04-12 23:02:31 +08:00
style="@style/llOutside.vertical"
2019-02-25 21:16:15 +08:00
tools:context=".Fragments.Fragment_jingxuan">
2019-02-01 09:19:44 +08:00
2019-02-15 23:48:25 +08:00
<android.support.v4.widget.SwipeRefreshLayout
2019-02-21 00:01:55 +08:00
android:id="@+id/swipeLayout"
2019-02-15 23:48:25 +08:00
android:layout_width="match_parent"
android:layout_height="match_parent"
2019-02-21 00:01:55 +08:00
android:orientation="vertical">
2019-02-01 09:19:44 +08:00
2019-02-21 00:01:55 +08:00
<android.support.v4.widget.NestedScrollView
android:id="@+id/n_scroll_view"
2019-02-01 09:19:44 +08:00
android:layout_width="match_parent"
android:layout_height="match_parent"
2019-02-21 00:01:55 +08:00
android:layout_marginBottom="50dp"
android:fillViewport="true"
app:layout_behavior="@string/appbar_scrolling_view_behavior">
2019-02-01 09:19:44 +08:00
2019-02-12 13:23:07 +08:00
<LinearLayout
2019-04-12 23:02:31 +08:00
android:orientation="vertical"
2019-02-12 13:23:07 +08:00
android:layout_width="match_parent"
android:layout_height="match_parent"
2019-04-12 23:02:31 +08:00
android:layout_marginBottom="50dp"
>
2019-04-11 23:24:50 +08:00
2019-02-21 00:01:55 +08:00
<com.youth.banner.Banner
android:id="@+id/banner"
2019-02-02 17:27:23 +08:00
android:layout_width="match_parent"
2019-02-21 00:01:55 +08:00
android:layout_height="150dp" />
2019-02-12 13:23:07 +08:00
2019-02-21 00:01:55 +08:00
<include layout="@layout/fragment_jingxuan_cates" />
2019-02-12 13:23:07 +08:00
2019-02-19 22:03:42 +08:00
<LinearLayout
android:layout_width="match_parent"
2019-02-21 00:01:55 +08:00
android:layout_height="match_parent"
2019-02-19 22:03:42 +08:00
android:gravity="center"
2019-04-12 23:02:31 +08:00
2019-02-21 00:01:55 +08:00
android:orientation="vertical">
<!-- 推荐 -->
<LinearLayout
2019-04-12 23:02:31 +08:00
style="@style/NovelBlockHead"
>
2019-02-21 00:01:55 +08:00
<ImageView
2019-04-12 23:02:31 +08:00
style="@style/NovelBlockImg"
2019-04-11 23:24:50 +08:00
android:src="@drawable/googleg_standard_color_18" />
2019-02-21 00:01:55 +08:00
<TextView
2019-04-12 23:02:31 +08:00
style="@style/NovelBlockTitle"
2019-02-21 00:01:55 +08:00
android:text="重磅推荐"
2019-04-12 23:02:31 +08:00
/>
2019-02-21 00:01:55 +08:00
<Button
android:id="@+id/buttonMoreTuijian"
style="@style/buttonRightMore"
2019-04-12 23:02:31 +08:00
android:text="更多>>"
2019-04-11 23:24:50 +08:00
android:visibility="gone"
2019-02-21 00:01:55 +08:00
/>
</LinearLayout>
<com.novelbook.android.utils.MyViewPager
2019-02-21 00:01:55 +08:00
android:id="@+id/viewpager_tuijian"
android:layout_width="match_parent"
android:layout_height="wrap_content"></com.novelbook.android.utils.MyViewPager>
2019-04-11 23:24:50 +08:00
</LinearLayout>
2019-02-21 00:01:55 +08:00
2019-04-11 23:24:50 +08:00
<LinearLayout
android:id="@+id/dot_horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:layout_margin="3dp"
android:gravity="center"
android:orientation="horizontal" />
2019-02-21 00:01:55 +08:00
2019-04-11 23:24:50 +08:00
<!--
<com.viewpagerindicator.TitlePageIndicator
android:id="@+id/titleIndictator"
android:layout_height="wrap_content"
android:layout_width="fill_parent" />
-->
2019-02-21 00:01:55 +08:00
2019-04-11 23:24:50 +08:00
<!--火热新书 -->
<LinearLayout
android:id="@+id/llBlock1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
2019-02-21 00:01:55 +08:00
2019-04-11 23:24:50 +08:00
<LinearLayout style="@style/llGraySplit" />
2019-02-21 00:01:55 +08:00
<LinearLayout
2019-04-12 23:02:31 +08:00
style="@style/NovelBlockHead"
>
2019-02-21 00:01:55 +08:00
<ImageView
2019-04-11 18:05:41 +08:00
android:id="@+id/imageBlock1"
2019-04-12 23:02:31 +08:00
style="@style/NovelBlockImg"
2019-04-11 23:24:50 +08:00
android:src="@drawable/googleg_standard_color_18" />
2019-02-21 00:01:55 +08:00
<TextView
2019-04-11 18:05:41 +08:00
android:id="@+id/tvBlock1"
2019-04-12 23:02:31 +08:00
style="@style/NovelBlockTitle"
2019-04-15 23:26:24 +08:00
android:text=""
2019-04-12 23:02:31 +08:00
/>
2019-02-12 13:23:07 +08:00
2019-02-21 00:01:55 +08:00
<Button
2019-04-11 18:05:41 +08:00
android:id="@+id/buttonMore1"
2019-04-12 23:02:31 +08:00
2019-02-21 00:01:55 +08:00
style="@style/buttonRightMore"
2019-02-12 13:23:07 +08:00
2019-02-21 00:01:55 +08:00
/>
2019-02-12 13:23:07 +08:00
2019-02-21 00:01:55 +08:00
</LinearLayout>
2019-02-12 13:23:07 +08:00
2019-02-21 00:01:55 +08:00
<android.support.v7.widget.RecyclerView
android:id="@+id/rvHotNewL"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:divider="#ffff0000"
android:dividerHeight="10dp"
android:nestedScrollingEnabled="false" />
2019-02-14 00:58:03 +08:00
2019-02-21 00:01:55 +08:00
<android.support.v7.widget.RecyclerView
android:id="@+id/rvHotNewG"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:divider="#ffff0000"
android:dividerHeight="10dp"
2019-04-11 23:24:50 +08:00
2019-02-21 00:01:55 +08:00
android:nestedScrollingEnabled="false" />
2019-02-14 00:58:03 +08:00
2019-04-11 23:24:50 +08:00
<LinearLayout style="@style/llGraySplit" />
</LinearLayout>
2019-02-15 23:48:25 +08:00
2019-04-11 23:24:50 +08:00
<!--热门连载 -->
<LinearLayout
android:id="@+id/llBlock2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
2019-02-14 00:58:03 +08:00
2019-02-12 13:23:07 +08:00
2019-02-21 00:01:55 +08:00
2019-04-12 23:02:31 +08:00
<LinearLayout
style="@style/NovelBlockHead"
>
2019-02-21 00:01:55 +08:00
<ImageView
2019-04-11 18:05:41 +08:00
android:id="@+id/imageBlock2"
2019-04-12 23:02:31 +08:00
style="@style/NovelBlockImg"
2019-04-11 23:24:50 +08:00
android:src="@drawable/googleg_standard_color_18" />
2019-02-21 00:01:55 +08:00
<TextView
2019-04-11 18:05:41 +08:00
android:id="@+id/tvBlock2"
2019-04-12 23:02:31 +08:00
style="@style/NovelBlockTitle"
2019-04-15 23:26:24 +08:00
android:text=""
2019-04-12 23:02:31 +08:00
/>
2019-02-21 00:01:55 +08:00
<Button
2019-04-11 18:05:41 +08:00
android:id="@+id/buttonMore2"
2019-02-21 00:01:55 +08:00
style="@style/buttonRightMore"
2019-04-12 23:02:31 +08:00
2019-02-21 00:01:55 +08:00
/>
</LinearLayout>
<android.support.v7.widget.RecyclerView
android:id="@+id/rvLianZaiL"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:divider="#ffff0000"
android:dividerHeight="10dp"
android:nestedScrollingEnabled="false"
/>
<android.support.v7.widget.RecyclerView
android:id="@+id/rvLianZaiG"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:divider="#ffff0000"
android:dividerHeight="10dp"
android:nestedScrollingEnabled="false"
/>
2019-04-11 23:24:50 +08:00
<LinearLayout style="@style/llGraySplit" />
</LinearLayout>
<!-- <include layout="@layout/fragment_jingxuan_book_list"></include> -->
<!--完本精选 -->
<LinearLayout
android:id="@+id/llBlock3"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
2019-02-21 00:01:55 +08:00
<LinearLayout
2019-04-12 23:02:31 +08:00
style="@style/NovelBlockHead"
>
2019-02-21 00:01:55 +08:00
<ImageView
2019-04-11 18:05:41 +08:00
android:id="@+id/imageBlock3"
2019-04-12 23:02:31 +08:00
style="@style/NovelBlockImg"
2019-04-11 23:24:50 +08:00
android:src="@drawable/googleg_standard_color_18" />
2019-02-21 00:01:55 +08:00
<TextView
2019-04-11 18:05:41 +08:00
android:id="@+id/tvBlock3"
2019-04-12 23:02:31 +08:00
style="@style/NovelBlockTitle"
2019-04-15 23:26:24 +08:00
android:text=""
2019-04-12 23:02:31 +08:00
/>
2019-02-21 00:01:55 +08:00
<Button
2019-04-11 18:05:41 +08:00
android:id="@+id/buttonMore3"
2019-02-21 00:01:55 +08:00
style="@style/buttonRightMore"
2019-04-12 23:02:31 +08:00
2019-02-21 00:01:55 +08:00
/>
</LinearLayout>
<android.support.v7.widget.RecyclerView
android:id="@+id/rvFinishL"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:divider="#ffff0000"
android:dividerHeight="10dp"
android:nestedScrollingEnabled="false"
/>
<android.support.v7.widget.RecyclerView
android:id="@+id/rvFinishG"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:divider="#ffff0000"
android:dividerHeight="10dp"
android:nestedScrollingEnabled="false"
android:paddingBottom="40dp" />
2019-04-11 23:24:50 +08:00
<LinearLayout style="@style/llGraySplit" />
2019-02-21 00:01:55 +08:00
2019-04-11 23:24:50 +08:00
</LinearLayout>
2019-02-12 13:23:07 +08:00
2019-04-11 23:24:50 +08:00
<!-- <include layout="@layout/fragment_jingxuan_book_list"></include> -->
2019-02-12 13:23:07 +08:00
2019-04-11 23:24:50 +08:00
<LinearLayout
android:id="@+id/llBlock4"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
2019-02-14 00:58:03 +08:00
2019-04-12 23:02:31 +08:00
<LinearLayout style="@style/llGraySplit" />
2019-04-11 23:24:50 +08:00
2019-04-12 23:02:31 +08:00
<LinearLayout
style="@style/NovelBlockHead"
>
2019-04-11 23:24:50 +08:00
<ImageView
android:id="@+id/imageBlock4"
2019-04-12 23:02:31 +08:00
style="@style/NovelBlockImg"
2019-04-11 23:24:50 +08:00
android:src="@drawable/googleg_standard_color_18" />
<TextView
android:id="@+id/tvBlock4"
2019-04-12 23:02:31 +08:00
style="@style/NovelBlockTitle"
2019-04-15 23:26:24 +08:00
android:text=""
2019-04-12 23:02:31 +08:00
/>
2019-04-11 23:24:50 +08:00
<Button
android:id="@+id/buttonMore4"
style="@style/buttonRightMore"
2019-04-12 23:02:31 +08:00
2019-04-11 23:24:50 +08:00
/>
</LinearLayout>
<android.support.v7.widget.RecyclerView
android:id="@+id/rvL"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:divider="#ffff0000"
android:dividerHeight="10dp"
android:nestedScrollingEnabled="false"
/>
<android.support.v7.widget.RecyclerView
android:id="@+id/rvG"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:divider="#ffff0000"
android:dividerHeight="10dp"
android:nestedScrollingEnabled="false"
android:paddingBottom="40dp" />
<LinearLayout style="@style/llGraySplit" />
</LinearLayout>
2019-04-12 23:02:31 +08:00
2019-02-12 13:23:07 +08:00
</LinearLayout>
2019-04-11 23:24:50 +08:00
<!-- <include layout="@layout/fragment_jingxuan_book_list"></include> -->
2019-02-21 00:01:55 +08:00
</android.support.v4.widget.NestedScrollView>
2019-04-11 23:24:50 +08:00
2019-02-15 23:48:25 +08:00
</android.support.v4.widget.SwipeRefreshLayout>
2019-02-21 00:01:55 +08:00
</LinearLayout>