2019-02-15 23:48:25 +08:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2019-02-16 23:34:42 +08:00
|
|
|
<android.support.v4.widget.NestedScrollView
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2019-02-15 23:48:25 +08:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior"
|
|
|
|
tools:context=".BookActivity"
|
2019-02-16 23:34:42 +08:00
|
|
|
tools:showIn="@layout/activity_book"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_marginBottom="3dp"
|
|
|
|
>
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical"
|
|
|
|
>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="50dp"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:layout_weight="0"
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
>
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"/>
|
|
|
|
<Button
|
|
|
|
android:text="推荐"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:drawableLeft="@drawable/ic_mood_black_24dp"
|
|
|
|
android:layout_weight="0"
|
|
|
|
android:background="@drawable/item_selector"
|
|
|
|
android:paddingLeft="5dp"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:layout_marginLeft="20dp"
|
|
|
|
android:layout_marginRight="20dp"
|
|
|
|
android:text="分享"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:drawableLeft="@drawable/ic_toys_black_24dp"
|
|
|
|
android:layout_weight="0"
|
|
|
|
android:background="@drawable/item_selector"
|
|
|
|
android:paddingLeft="5dp"
|
|
|
|
/>
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:text="报错"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:drawableLeft="@drawable/ic_sentiment_very_satisfied_black_24dp"
|
|
|
|
android:layout_weight="0"
|
|
|
|
android:background="@drawable/item_selector"
|
|
|
|
android:paddingLeft="5dp"
|
|
|
|
/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"/>
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-02-15 23:48:25 +08:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_margin="@dimen/text_margin"
|
|
|
|
android:text="@string/large_text" />
|
|
|
|
|
2019-02-16 23:34:42 +08:00
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
</android.support.v4.widget.NestedScrollView>
|
|
|
|
<!--
|
|
|
|
<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"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<android.support.v4.widget.NestedScrollView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior"
|
|
|
|
tools:context=".BookActivity"
|
|
|
|
tools:showIn="@layout/activity_book"
|
|
|
|
android:layout_weight="1"
|
|
|
|
>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_margin="@dimen/text_margin"
|
|
|
|
android:text="@string/large_text" />
|
|
|
|
|
|
|
|
</android.support.v4.widget.NestedScrollView>
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="50dp"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:layout_weight="0"
|
|
|
|
>
|
|
|
|
<ImageButton
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:src="@drawable/ic_sentiment_very_satisfied_black_24dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
/>
|
|
|
|
<ImageButton
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:src="@drawable/ic_toys_black_24dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
/>
|
|
|
|
<ImageButton
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:src="@drawable/ic_mood_black_24dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
-->
|