diff options
author | Stefan Niedermann <info@niedermann.it> | 2022-11-04 12:25:13 +0300 |
---|---|---|
committer | Stefan Niedermann <info@niedermann.it> | 2022-11-04 12:25:13 +0300 |
commit | 7183470a252173adc4231bd5373c6805c3709b11 (patch) | |
tree | 99e8ffe0b9d709ef6553988f228dc2503eb77cd0 /app/src/main/res/drawable | |
parent | 6a14c4f6ce235807241694f0290f3bd2f312bfc2 (diff) |
Fix #1330 Update to The Material Design 3
Signed-off-by: Stefan Niedermann <info@niedermann.it>
Diffstat (limited to 'app/src/main/res/drawable')
-rw-r--r-- | app/src/main/res/drawable/bg_navdrawer_item.xml | 40 |
1 files changed, 4 insertions, 36 deletions
diff --git a/app/src/main/res/drawable/bg_navdrawer_item.xml b/app/src/main/res/drawable/bg_navdrawer_item.xml index 0cdc61323..0c60f8c76 100644 --- a/app/src/main/res/drawable/bg_navdrawer_item.xml +++ b/app/src/main/res/drawable/bg_navdrawer_item.xml @@ -1,37 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<ripple xmlns:android="http://schemas.android.com/apk/res/android" - android:color="?colorControlHighlight"> - - <item - android:id="@android:id/mask" - android:left="@dimen/spacer_1x" - android:right="@dimen/spacer_1x"> - - <shape android:shape="rectangle"> - <!-- value of color is irrelevant, but solid needs to be defined for mask to work --> - <solid android:color="@color/bg_highlighted" /> - <corners android:radius="@dimen/spacer_1hx" /> - </shape> - </item> - - <item - android:left="@dimen/spacer_1x" - android:right="@dimen/spacer_1x"> - - <selector> - <item android:state_checked="true"> - <shape android:shape="rectangle"> - <corners android:radius="@dimen/spacer_1hx" /> - <solid android:color="@color/bg_highlighted" /> - </shape> - </item> - - <item> - <shape android:shape="rectangle"> - <corners android:radius="@dimen/spacer_1hx" /> - </shape> - </item> - </selector> - </item> - -</ripple>
\ No newline at end of file +<selector xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:color="@color/bg_highlighted" android:state_checked="true" /> + <item android:color="@android:color/transparent" /> +</selector>
\ No newline at end of file |