diff options
author | ByteHamster <info@bytehamster.com> | 2022-08-06 16:55:29 +0200 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2022-09-18 19:12:41 +0200 |
commit | e5d2d1b6ef6eec995e2ef7e714653567e349e59e (patch) | |
tree | 048d2ac7cbe88b6066281a234c4e4f80f1560abc /app/src/main/res/layout | |
parent | cbfa0181f48e601a18d87f9f699f48460dd61acd (diff) | |
download | AntennaPod-e5d2d1b6ef6eec995e2ef7e714653567e349e59e.zip |
Migrate navigation drawer to Material3
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/nav_listitem.xml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/app/src/main/res/layout/nav_listitem.xml b/app/src/main/res/layout/nav_listitem.xml index 37b629abb..0aca5eb7d 100644 --- a/app/src/main/res/layout/nav_listitem.xml +++ b/app/src/main/res/layout/nav_listitem.xml @@ -1,17 +1,19 @@ <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" + xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="@dimen/listitem_iconwithtext_height" - android:foreground="?attr/selectableItemBackground" - android:orientation="vertical"> + android:orientation="vertical" + android:layout_marginHorizontal="8dp" + android:background="@drawable/drawer_item_background"> <ImageView android:id="@+id/imgvCover" android:layout_width="@dimen/thumbnail_length_navlist" android:layout_height="@dimen/thumbnail_length_navlist" + android:importantForAccessibility="no" android:layout_alignParentStart="true" android:layout_alignParentLeft="true" android:layout_centerVertical="true" @@ -21,7 +23,6 @@ android:layout_marginBottom="4dp" android:adjustViewBounds="true" android:cropToPadding="true" - android:importantForAccessibility="no" android:scaleType="centerInside" tools:src="@drawable/ic_download_black" /> |