From f579eecfb3cb3cf4276f11b51464659ae57ecfe6 Mon Sep 17 00:00:00 2001 From: hotlittlewhitedog <hotlittlewhitedog@gmail.com> Date: Fri, 20 Oct 2017 19:44:14 +0200 Subject: [PATCH] uninstall-button --- .../main/res/layout/app_details2_header.xml | 26 +++++++------------ 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/app/src/main/res/layout/app_details2_header.xml b/app/src/main/res/layout/app_details2_header.xml index 79f9e1878..b525cd58e 100755 --- a/app/src/main/res/layout/app_details2_header.xml +++ b/app/src/main/res/layout/app_details2_header.xml @@ -13,8 +13,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" - android:paddingBottom="8dp" - > + android:paddingBottom="8dp"> <RelativeLayout android:layout_width="match_parent" @@ -23,8 +22,7 @@ android:layout_marginStart="8dp" android:layout_marginLeft="8dp" android:layout_marginEnd="8dp" - android:layout_marginRight="8dp" - > + android:layout_marginRight="8dp"> <!-- Icon, Name, Author (optional), Updated date --> <RelativeLayout @@ -81,7 +79,6 @@ tools:text="Update released 12 days ago" /> </LinearLayout> - </RelativeLayout> <!-- Progress info --> @@ -151,32 +148,30 @@ android:paddingBottom="2dp" android:clipToPadding="false" android:visibility="visible" - > + android:gravity="end"> <android.support.v7.widget.AppCompatButton android:id="@+id/secondaryButtonView" style="@style/DetailsSecondaryButtonStyle" - android:layout_width="match_parent" + android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_weight="1" + android:layout_weight="0" android:ellipsize="marquee" app:textAllCaps="true" - android:padding="12dp" - tools:text="Uninstall" /> + tools:text="Uninstall"/> <android.support.v7.widget.AppCompatButton android:id="@+id/primaryButtonView" style="@style/DetailsPrimaryButtonStyle" - android:layout_width="match_parent" + android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8dp" android:layout_marginStart="8dp" - android:layout_weight="1" + android:layout_weight="0" android:ellipsize="marquee" app:textAllCaps="true" - tools:text="Run" /> + tools:text="Run"/> </LinearLayout> - </RelativeLayout> <TextView @@ -193,8 +188,7 @@ android:layout_marginTop="16dp" android:layout_marginBottom="16dp" android:background="?attr/detailPanel" - tools:text="NEW IN VERSION 1.0.2233\n\nA lot has happened since the last build:\n\n\t• Improved UI\n\t• Bug fixes" - /> + tools:text="NEW IN VERSION 1.0.2233\n\nA lot has happened since the last build:\n\n\t• Improved UI\n\t• Bug fixes" /> <TextView android:id="@+id/description"