tachiyomi/app/src/main/res/layout/navigation_view_group.xml

30 lines
1.0 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
2020-02-22 07:43:50 +08:00
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="?attr/listPreferredItemHeightSmall"
2020-03-15 01:18:34 +08:00
android:background="?attr/colorPrimary"
2020-02-22 07:43:50 +08:00
android:elevation="2dp"
android:gravity="center_vertical"
2020-02-22 07:43:50 +08:00
android:orientation="horizontal"
android:paddingStart="?attr/listPreferredItemPaddingStart"
2020-02-22 07:43:50 +08:00
android:paddingEnd="?attr/listPreferredItemPaddingEnd">
<TextView
android:id="@+id/title"
android:layout_width="0dp"
android:layout_height="wrap_content"
2020-02-22 07:43:50 +08:00
android:layout_weight="1"
android:ellipsize="end"
android:maxLines="1"
android:textAppearance="@style/TextAppearance.AppCompat.Body2"
2020-03-15 01:18:34 +08:00
android:textColor="?attr/colorOnPrimary"
2020-02-22 07:43:50 +08:00
tools:text="Header" />
<ImageView
android:id="@+id/expand_icon"
android:layout_width="wrap_content"
2020-02-22 07:43:50 +08:00
android:layout_height="wrap_content" />
</LinearLayout>