338 lines
12 KiB
XML
338 lines
12 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
style="@style/llOutside.vertical"
|
|
tools:context=".Fragments.Fragment_jingxuan">
|
|
|
|
<android.support.v4.widget.SwipeRefreshLayout
|
|
android:id="@+id/swipeLayout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<android.support.v4.widget.NestedScrollView
|
|
android:id="@+id/n_scroll_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginBottom="50dp"
|
|
android:fillViewport="true"
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
|
|
|
<LinearLayout
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginBottom="50dp"
|
|
>
|
|
|
|
<com.youth.banner.Banner
|
|
android:id="@+id/banner"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="150dp" />
|
|
|
|
<FrameLayout
|
|
android:id="@+id/banner_container"
|
|
android:layout_height="@dimen/topBannerHeight"
|
|
style="@style/frmBannerContainer"/>
|
|
<!-- <include layout="@layout/fragment_jingxuan_cates" />-->
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:gravity="center"
|
|
|
|
android:orientation="vertical">
|
|
<!-- 推荐 -->
|
|
<LinearLayout
|
|
style="@style/NovelBlockHead"
|
|
>
|
|
<ImageView
|
|
android:id="@+id/imageBlock0"
|
|
style="@style/NovelBlockImg"
|
|
/>
|
|
|
|
<TextView
|
|
android:id="@+id/tvBlock0"
|
|
style="@style/NovelBlockTitle"
|
|
android:text=""
|
|
/>
|
|
|
|
<Button
|
|
android:id="@+id/buttonMoreTuijian"
|
|
style="@style/buttonRightMore"
|
|
android:text="更多>>"
|
|
android:visibility="gone"
|
|
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<com.novelbook.android.utils.MyViewPager
|
|
android:id="@+id/viewpager_tuijian"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"></com.novelbook.android.utils.MyViewPager>
|
|
</LinearLayout>
|
|
|
|
<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" />
|
|
|
|
<!--
|
|
<com.viewpagerindicator.TitlePageIndicator
|
|
android:id="@+id/titleIndictator"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="fill_parent" />
|
|
-->
|
|
|
|
|
|
<!--火热新书 -->
|
|
<LinearLayout
|
|
android:id="@+id/llBlock1"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout style="@style/llGraySplit" />
|
|
|
|
|
|
<LinearLayout
|
|
style="@style/NovelBlockHead"
|
|
>
|
|
<ImageView
|
|
android:id="@+id/imageBlock1"
|
|
style="@style/NovelBlockImg"
|
|
/>
|
|
|
|
<TextView
|
|
android:id="@+id/tvBlock1"
|
|
style="@style/NovelBlockTitle"
|
|
android:text=""
|
|
/>
|
|
|
|
|
|
<Button
|
|
android:id="@+id/buttonMore1"
|
|
|
|
style="@style/buttonRightMore"
|
|
|
|
/>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
<android.support.v7.widget.RecyclerView
|
|
android:id="@+id/rvHotNewL"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:divider="#ffff0000"
|
|
android:dividerHeight="10dp"
|
|
android:nestedScrollingEnabled="false"
|
|
|
|
/>
|
|
|
|
|
|
<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"
|
|
|
|
android:nestedScrollingEnabled="false" />
|
|
|
|
<LinearLayout style="@style/llGraySplit" />
|
|
</LinearLayout>
|
|
|
|
<!--热门连载 -->
|
|
<LinearLayout
|
|
android:id="@+id/llBlock2"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
style="@style/NovelBlockHead"
|
|
>
|
|
<ImageView
|
|
android:id="@+id/imageBlock2"
|
|
style="@style/NovelBlockImg"
|
|
/>
|
|
|
|
<TextView
|
|
android:id="@+id/tvBlock2"
|
|
style="@style/NovelBlockTitle"
|
|
android:text=""
|
|
/>
|
|
|
|
|
|
|
|
<Button
|
|
android:id="@+id/buttonMore2"
|
|
style="@style/buttonRightMore"
|
|
|
|
|
|
/>
|
|
|
|
</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"
|
|
|
|
/>
|
|
<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">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
style="@style/NovelBlockHead"
|
|
>
|
|
<ImageView
|
|
android:id="@+id/imageBlock3"
|
|
style="@style/NovelBlockImg"
|
|
/>
|
|
|
|
<TextView
|
|
android:id="@+id/tvBlock3"
|
|
style="@style/NovelBlockTitle"
|
|
android:text=""
|
|
/>
|
|
|
|
|
|
|
|
<Button
|
|
android:id="@+id/buttonMore3"
|
|
style="@style/buttonRightMore"
|
|
|
|
|
|
/>
|
|
|
|
</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" />
|
|
|
|
<LinearLayout style="@style/llGraySplit" />
|
|
|
|
</LinearLayout>
|
|
|
|
<!-- <include layout="@layout/fragment_jingxuan_book_list"></include> -->
|
|
|
|
|
|
<LinearLayout
|
|
android:id="@+id/llBlock4"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout style="@style/llGraySplit" />
|
|
|
|
|
|
<LinearLayout
|
|
style="@style/NovelBlockHead"
|
|
>
|
|
<ImageView
|
|
android:id="@+id/imageBlock4"
|
|
style="@style/NovelBlockImg"
|
|
/>
|
|
|
|
<TextView
|
|
android:id="@+id/tvBlock4"
|
|
style="@style/NovelBlockTitle"
|
|
android:text=""
|
|
/>
|
|
|
|
|
|
<Button
|
|
android:id="@+id/buttonMore4"
|
|
style="@style/buttonRightMore"
|
|
|
|
|
|
/>
|
|
|
|
</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"
|
|
|
|
/>
|
|
<LinearLayout style="@style/llGraySplit.2dp" />
|
|
<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>
|
|
|
|
|
|
</LinearLayout>
|
|
<!-- <include layout="@layout/fragment_jingxuan_book_list"></include> -->
|
|
|
|
|
|
</android.support.v4.widget.NestedScrollView>
|
|
|
|
</android.support.v4.widget.SwipeRefreshLayout>
|
|
</LinearLayout>
|