diff options
author | Stefan Niedermann <info@niedermann.it> | 2020-05-07 18:55:21 +0300 |
---|---|---|
committer | Stefan Niedermann <info@niedermann.it> | 2020-05-07 18:55:21 +0300 |
commit | 8eaccb9f131c523c6e4b594d19361912a41a61fb (patch) | |
tree | 545b0378de657bb29b8d8a635b8f7900849ead8a /app/src/main/res/layout | |
parent | 3e65cd3dee22b134c0529c0c5e17f209ef2fd584 (diff) |
#456 Clear storage tip: show direct button to start app info page
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/item_tip.xml | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/app/src/main/res/layout/item_tip.xml b/app/src/main/res/layout/item_tip.xml index 1efb7d9e9..46d0642ee 100644 --- a/app/src/main/res/layout/item_tip.xml +++ b/app/src/main/res/layout/item_tip.xml @@ -1,14 +1,16 @@ <?xml version="1.0" encoding="utf-8"?> -<GridLayout xmlns:android="http://schemas.android.com/apk/res/android" +<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" android:layout_width="match_parent" android:layout_height="wrap_content" - android:columnCount="2" android:paddingTop="@dimen/spacer_2x" android:paddingBottom="@dimen/spacer_2x"> <ImageView + android:id="@+id/bulb" + android:layout_width="wrap_content" + android:layout_height="wrap_content" android:layout_gravity="center" android:layout_marginEnd="@dimen/spacer_2x" android:layout_marginRight="@dimen/spacer_2x" @@ -18,12 +20,19 @@ <TextView android:id="@+id/tip" android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_toEndOf="@id/bulb" + android:layout_toRightOf="@id/bulb" android:textAppearance="?attr/textAppearanceBody1" tools:maxLength="200" tools:text="@tools:sample/lorem/random" /> <LinearLayout - android:layout_column="1" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_below="@id/tip" + android:layout_toEndOf="@id/bulb" + android:layout_toRightOf="@id/bulb" android:orientation="horizontal"> <com.google.android.material.button.MaterialButton @@ -46,4 +55,4 @@ tools:text="@string/error_action_open_network" tools:visibility="visible" /> </LinearLayout> -</GridLayout>
\ No newline at end of file +</RelativeLayout>
\ No newline at end of file |