diff options
author | Stefan Niedermann <info@niedermann.it> | 2020-05-07 20:55:38 +0300 |
---|---|---|
committer | Stefan Niedermann <info@niedermann.it> | 2020-05-07 20:55:38 +0300 |
commit | 53e62647171a189f31a56f6176811635731becd5 (patch) | |
tree | 0e7ad1793e8e727d84e9fa62af6ee2bf9767110f /app/src/main/res/layout | |
parent | 3029cd603cd7efa410a31bf7d3dede8ab70feba0 (diff) |
#456 Clear storage tip: show direct button to start app info page
Only accept one exception instead of a list
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/item_tip.xml | 37 |
1 files changed, 10 insertions, 27 deletions
diff --git a/app/src/main/res/layout/item_tip.xml b/app/src/main/res/layout/item_tip.xml index d77589335..46d199a31 100644 --- a/app/src/main/res/layout/item_tip.xml +++ b/app/src/main/res/layout/item_tip.xml @@ -20,33 +20,16 @@ tools:maxLength="200" tools:text="@tools:sample/lorem/random" /> - <LinearLayout + <com.google.android.material.button.MaterialButton + android:id="@+id/action_button" + style="@style/Widget.MaterialComponents.Button.OutlinedButton" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:orientation="horizontal" - android:paddingStart="40dp" - android:paddingLeft="40dp" - android:paddingEnd="0dp" - android:paddingRight="0dp"> - - <com.google.android.material.button.MaterialButton - android:id="@+id/action_primary" - style="@style/Widget.MaterialComponents.Button.OutlinedButton" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginEnd="@dimen/spacer_1x" - android:layout_marginRight="@dimen/spacer_1x" - android:visibility="visible" - tools:text="@string/error_action_open_deck_info" - tools:visibility="visible" /> - - <com.google.android.material.button.MaterialButton - android:id="@+id/action_secondary" - style="@style/Widget.MaterialComponents.Button.TextButton" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:visibility="visible" - tools:text="@string/error_action_open_network" - tools:visibility="visible" /> - </LinearLayout> + android:layout_marginStart="40dp" + android:layout_marginLeft="40dp" + android:layout_marginEnd="@dimen/spacer_1x" + android:layout_marginRight="@dimen/spacer_1x" + android:visibility="visible" + tools:text="@string/error_action_open_deck_info" + tools:visibility="visible" /> </LinearLayout>
\ No newline at end of file |