You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.7 KiB
49 lines
1.7 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:orientation="vertical" android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
<!--标题-->
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="50dp"
|
|
android:background="#EFB81C"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:id="@+id/category_return"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:src="@drawable/arrow_left" />
|
|
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="12dp"
|
|
android:layout_weight="1"
|
|
android:gravity="center"
|
|
android:text="商品种类"
|
|
android:textColor="#FFF"
|
|
android:textSize="20sp" />
|
|
</LinearLayout>
|
|
|
|
<!--分类标题和内容-->
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="horizontal">
|
|
<!--标题-->
|
|
<ListView
|
|
android:id="@+id/category_title_list"
|
|
android:layout_width="0dp"
|
|
android:layout_weight="1"
|
|
android:layout_height="match_parent" />
|
|
<!--内容-->
|
|
<FrameLayout
|
|
android:id="@+id/category_detail"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="3" />
|
|
</LinearLayout>
|
|
|
|
</LinearLayout> |