<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" tools:context=".ui.activity.MainActivity"> <ExpandableListView android:id="@+id/elc_show_main" android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="1" android:background="#fff"></ExpandableListView> <LinearLayout android:layout_width="match_parent" android:layout_height="60dp" android:gravity="center_vertical" android:orientation="horizontal"> <CheckBox android:id="@+id/cb_allCheck_main" android:layout_width="wrap_content" android:layout_height="wrap_content" /> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="全选" android:textColor="#000" /> <TextView android:id="@+id/btn_allPrice_main" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginLeft="10dp" android:layout_weight="1" android:text="价格" android:textColor="@android:color/holo_red_dark" android:textSize="20sp" /> <Button android:id="@+id/btn_allNumber_main" android:layout_width="120dp" android:layout_height="wrap_content" android:text="去结算(0)" /> </LinearLayout> </LinearLayout>
main xml
最新推荐文章于 2022-06-03 21:27:50 发布