diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2024-01-20 13:35:30 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-20 13:35:30 -0500 |
commit | b3aa3633c7efb129cd829bca5bb4fc655ff7d243 (patch) | |
tree | fc02171da1b76287a304f62db834b4aebf988916 /src | |
parent | 627ba271ada91da09c88ff740c5b51ce46a1aece (diff) | |
parent | 378e4752a620fc7fd2990775aaa7f694e2bf7fa1 (diff) |
Merge pull request #12721 from t895/card-elevation
android: Use elevated card style for home setting card
Diffstat (limited to 'src')
-rw-r--r-- | src/android/app/src/main/res/layout/card_home_option.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/android/app/src/main/res/layout/card_home_option.xml b/src/android/app/src/main/res/layout/card_home_option.xml index cb667c928..224ec4d89 100644 --- a/src/android/app/src/main/res/layout/card_home_option.xml +++ b/src/android/app/src/main/res/layout/card_home_option.xml @@ -2,16 +2,16 @@ <com.google.android.material.card.MaterialCardView 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" - style="?attr/materialCardViewFilledStyle" + style="?attr/materialCardViewElevatedStyle" android:id="@+id/option_card" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginBottom="24dp" android:layout_marginHorizontal="12dp" android:background="?attr/selectableItemBackground" - android:backgroundTint="?attr/colorSurfaceVariant" android:clickable="true" - android:focusable="true"> + android:focusable="true" + app:cardElevation="4dp"> <LinearLayout android:id="@+id/option_layout" |