diff options
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/item_nav_drawer_menu_item.xml | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/app/src/main/res/layout/item_nav_drawer_menu_item.xml b/app/src/main/res/layout/item_nav_drawer_menu_item.xml index 4e3cdf5b..6fcd0b35 100644 --- a/app/src/main/res/layout/item_nav_drawer_menu_item.xml +++ b/app/src/main/res/layout/item_nav_drawer_menu_item.xml @@ -1,12 +1,24 @@ <?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:background="?attr/selectableItemBackground" + android:padding="16dp" android:clickable="true" - android:drawablePadding="32dp" android:focusable="true" - android:gravity="center_vertical" - android:padding="16dp" - android:textColor="?attr/primaryTextColor" - android:textSize="?attr/font_default" />
\ No newline at end of file + android:background="?attr/selectableItemBackground"> + + <ImageView + android:id="@+id/image_view_item_nav_drawer_menu_item" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginEnd="32dp" + android:layout_gravity="center_vertical" /> + + <TextView + android:id="@+id/text_view_item_nav_drawer_menu_item" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_gravity="center_vertical" + android:textSize="?attr/font_default" /> + +</LinearLayout>
\ No newline at end of file |