diff options
author | Alex Ning <chineseperson5@gmail.com> | 2020-03-17 12:03:15 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2020-03-17 12:03:15 +0000 |
commit | 3dc2d9fee215449c7730bade75781c044565a138 (patch) | |
tree | a85479b2aec7f80bad6471064bc4bee7e081998b /app/src/main/res/layout | |
parent | 870976068d9a759e6fc62d3cc3283c3de727bedb (diff) | |
download | infinity-for-reddit-3dc2d9fee215449c7730bade75781c044565a138.tar infinity-for-reddit-3dc2d9fee215449c7730bade75781c044565a138.tar.gz infinity-for-reddit-3dc2d9fee215449c7730bade75781c044565a138.tar.bz2 infinity-for-reddit-3dc2d9fee215449c7730bade75781c044565a138.tar.lz infinity-for-reddit-3dc2d9fee215449c7730bade75781c044565a138.tar.xz infinity-for-reddit-3dc2d9fee215449c7730bade75781c044565a138.tar.zst infinity-for-reddit-3dc2d9fee215449c7730bade75781c044565a138.zip |
Continue implementing custom themes.
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 |