diff options
author | Stefan Niedermann <info@niedermann.it> | 2022-11-04 13:33:19 +0300 |
---|---|---|
committer | Stefan Niedermann <info@niedermann.it> | 2022-11-12 11:02:24 +0300 |
commit | 20bb9481300d02baf9e7f286717e2ce6b3140d90 (patch) | |
tree | ae47f5c5b2bcb492e1b20e32e983bc05a45e3004 /app/src/main/res/layout/activity_exception.xml | |
parent | 272bf451e8fd897689b2228588cc93c7a1b3a71d (diff) |
Material 3: First steps
Signed-off-by: Stefan Niedermann <info@niedermann.it>
Diffstat (limited to 'app/src/main/res/layout/activity_exception.xml')
-rw-r--r-- | app/src/main/res/layout/activity_exception.xml | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/app/src/main/res/layout/activity_exception.xml b/app/src/main/res/layout/activity_exception.xml index f275a703..919f7dfd 100644 --- a/app/src/main/res/layout/activity_exception.xml +++ b/app/src/main/res/layout/activity_exception.xml @@ -74,7 +74,6 @@ </ScrollView> <LinearLayout - style="?android:buttonBarStyle" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_margin="@dimen/spacer_2x" @@ -84,7 +83,7 @@ <Button android:id="@+id/close" - style="?android:buttonBarButtonStyle" + style="@style/Widget.Material3.Button.TextButton" android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_weight=".5" @@ -93,16 +92,14 @@ <Button android:id="@+id/copy" - style="?android:buttonBarButtonStyle" + style="@style/Widget.Material3.Button" android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_marginTop="6dp" android:layout_marginBottom="6dp" android:layout_weight=".5" - android:background="@color/defaultBrand" - android:foreground="?attr/selectableItemBackground" android:text="@string/simple_copy" - android:textColor="@color/fg_contrast" + app:backgroundTint="@color/defaultBrand" tools:ignore="UnusedAttribute" /> </LinearLayout> |