pda/zhuike/src/main/res/layout/fragment_shelf_botoomsheetd...

223 lines
6.6 KiB
XML
Raw Normal View History

2019-02-14 00:58:03 +08:00
<?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"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
2019-04-23 22:45:08 +08:00
android:id="@+id/llout"
2019-02-14 00:58:03 +08:00
>
<RelativeLayout
android:id="@+id/top_layout"
android:layout_width="match_parent"
android:layout_height="90dp"
android:elevation="1dp"
tools:ignore="UnusedAttribute">
<FrameLayout
android:layout_width="match_parent"
android:layout_height="75dp"
android:background="@color/white"
android:layout_alignParentBottom="true"
android:paddingStart="120dp"
android:paddingLeft="120dp"
>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:paddingBottom="5dp"
android:orientation="vertical">
<TextView
android:id="@+id/bdTitle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="射雕英雄传"
android:textColor="@color/colorPrimary"
android:textSize="16sp"
android:textStyle="bold"
tools:ignore="HardcodedText,TextViewEdits" />
<TextView
android:id="@+id/tv_goods_no"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:visibility="visible"
android:text="金庸"
tools:ignore="HardcodedText" />
</LinearLayout>
</FrameLayout>
<android.support.v7.widget.CardView
android:id="@+id/cardView"
android:layout_width="90dp"
android:layout_height="90dp"
android:layout_marginEnd="14dp"
android:layout_marginRight="14dp"
android:layout_marginStart="20dp"
android:layout_marginLeft="20dp"
android:layout_marginBottom="5dp"
app:cardBackgroundColor="@color/white"
app:cardCornerRadius="6dp"
app:cardElevation="2dp">
<ImageView
android:id="@+id/iv_goods"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
android:src="@drawable/googleg_standard_color_18"
tools:ignore="ContentDescription" />
</android.support.v7.widget.CardView>
</RelativeLayout>
<LinearLayout
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="200dp"
android:gravity="center"
android:background="@color/white"
>
<LinearLayout
android:orientation="vertical"
android:layout_width="60dp"
android:layout_height="70dp"
2019-04-23 22:45:08 +08:00
android:id="@+id/llBookdetail"
2019-02-14 00:58:03 +08:00
android:gravity="center"
android:background="@drawable/item_selector"
android:clickable="true"
android:layout_weight="1">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:src="@drawable/googleg_standard_color_18" />
<TextView
2019-04-23 22:45:08 +08:00
2019-02-14 00:58:03 +08:00
android:layout_width="wrap_content"
android:layout_height="30dp"
android:gravity="center"
android:text="书籍详情"
android:textColor="#212121" />
</LinearLayout>.
<LinearLayout
android:orientation="vertical"
android:layout_width="60dp"
android:layout_height="70dp"
android:gravity="center"
android:background="@drawable/item_selector"
android:clickable="true"
android:layout_weight="1">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:src="@drawable/googleg_standard_color_18" />
<TextView
android:layout_width="wrap_content"
android:layout_height="30dp"
android:gravity="center"
android:text="目录书摘"
android:textColor="#212121" />
</LinearLayout>.
<LinearLayout
android:orientation="vertical"
android:layout_width="60dp"
android:layout_height="70dp"
android:gravity="center"
android:background="@drawable/item_selector"
android:clickable="true"
android:layout_weight="1">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:src="@drawable/googleg_standard_color_18" />
<TextView
android:layout_width="wrap_content"
android:layout_height="30dp"
android:gravity="center"
android:text="查看书评"
android:textColor="#212121" />
</LinearLayout>.
<LinearLayout
android:orientation="vertical"
android:layout_width="60dp"
android:layout_height="70dp"
android:gravity="center"
android:background="@drawable/item_selector"
android:clickable="true"
android:layout_weight="1">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:src="@drawable/googleg_standard_color_18" />
<TextView
android:layout_width="wrap_content"
android:layout_height="30dp"
android:gravity="center"
android:text="下载本书"
android:textColor="#212121" />
</LinearLayout>.
</LinearLayout>
</LinearLayout>