192 lines
7.0 KiB
XML
192 lines
7.0 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"
|
|
|
|
android:orientation="vertical"
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior"
|
|
tools:context=".Activity_shudan"
|
|
tools:showIn="@layout/activity_shudan">
|
|
|
|
<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:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<include layout="@layout/recycle_list_item_shudan"></include>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="50dp"
|
|
android:layout_gravity="center">
|
|
|
|
<ImageView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
|
|
android:scaleType="centerCrop"
|
|
|
|
|
|
/>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<Button
|
|
style="@style/buttonCates"
|
|
android:background="@drawable/item_selector"
|
|
android:drawableTop="@drawable/ic_mood_black_24dp"
|
|
android:text="推荐" />
|
|
|
|
<Button
|
|
style="@style/buttonCates"
|
|
android:background="@drawable/item_selector"
|
|
android:drawableTop="@drawable/ic_mood_black_24dp"
|
|
|
|
android:text="收藏" />
|
|
|
|
<Button
|
|
style="@style/buttonCates"
|
|
android:background="@drawable/item_selector"
|
|
android:drawableTop="@drawable/ic_mood_black_24dp"
|
|
|
|
android:text="举报" />
|
|
|
|
<Button
|
|
style="@style/buttonCates"
|
|
android:background="@drawable/item_selector"
|
|
android:drawableTop="@drawable/ic_mood_black_24dp"
|
|
|
|
android:text="评论" />
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout style="@style/llGraySplit" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="5dp"
|
|
android:layout_height="wrap_content"
|
|
android:background="@color/colorAccent"
|
|
|
|
/>
|
|
|
|
<TextView
|
|
style="@style/TextViewTitle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="简介" />
|
|
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
style="@style/TextViewDesc"
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
android:text="一句话概括了书单的内容" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout style="@style/llGraySplit" />
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
style="@style/TextViewTitle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="书友评论" />
|
|
|
|
<TextView
|
|
style="@style/TextViewDesc"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="right"
|
|
android:layout_weight="0"
|
|
android:gravity="right"
|
|
android:text="写评论" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout style="@style/llGraySplit" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="5dp"
|
|
android:layout_height="wrap_content"
|
|
android:background="@color/colorAccent"
|
|
|
|
/>
|
|
|
|
<TextView
|
|
style="@style/TextViewTitle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="好书奉送" />
|
|
|
|
</LinearLayout>
|
|
|
|
<android.support.v7.widget.RecyclerView
|
|
android:id="@+id/recycleViewBookList"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
>
|
|
|
|
|
|
</android.support.v7.widget.RecyclerView>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
</android.support.v4.widget.NestedScrollView>
|
|
</android.support.v4.widget.SwipeRefreshLayout>
|
|
</LinearLayout> |