group layout

This commit is contained in:
sonichy 2023-03-25 13:29:10 +08:00
parent 44b62d73ae
commit 39d2e86c46
1 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:id="@+id/group_name"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:paddingStart="?android:attr/expandableListPreferredItemPaddingLeft"
android:text="group_name"
android:textAppearance="?android:attr/textAppearanceListItem" />
<TextView
android:id="@+id/group_count"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_marginLeft="10dp"
android:gravity="center"
android:text="0" />
</LinearLayout>