Add an indicator in NavigationDrawerRecyclerViewAdapter.MenuGroupTitleViewHolder.

This commit is contained in:
Alex Ning
2021-03-14 20:37:39 +08:00
parent 67fa19cdc1
commit 5811ca9ff0
2 changed files with 60 additions and 17 deletions

View File

@@ -1,8 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="16dp"
android:text="@string/label_post"
android:textSize="?attr/font_default"
android:fontFamily="?attr/font_family" />
android:padding="16dp">
<TextView
android:id="@+id/title_text_view_item_nav_drawer_menu_group_title"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_gravity="center_vertical"
android:textSize="?attr/font_default"
android:fontFamily="?attr/font_family" />
<ImageView
android:id="@+id/collapse_indicator_image_view_item_nav_drawer_menu_group_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical" />
</LinearLayout>