From 4b70d81e5c2f39c0a733dd54f4847dd5311dba11 Mon Sep 17 00:00:00 2001 From: Peter Serwylo Date: Tue, 25 Apr 2017 14:48:59 +1000 Subject: [PATCH] Make install/uninstall/run/upgrade buttons not overlap last updated text Instead of showing them below the icon, it now puts the icon + name + author + last updated into a single layout which can grow if the app name or author wraps to a second line. The buttons are now below this additional layout. --- .../main/res/layout/app_details2_header.xml | 98 +++++++++++-------- 1 file changed, 55 insertions(+), 43 deletions(-) diff --git a/app/src/main/res/layout/app_details2_header.xml b/app/src/main/res/layout/app_details2_header.xml index d0e9cf401..a6205c616 100755 --- a/app/src/main/res/layout/app_details2_header.xml +++ b/app/src/main/res/layout/app_details2_header.xml @@ -26,53 +26,63 @@ android:layout_marginRight="8dp" > - - - + + android:paddingBottom="8dp"> - + + + + android:layout_alignParentEnd="true" + android:layout_alignParentRight="true" + android:layout_alignParentTop="true" + android:layout_marginTop="8dp" + android:layout_toEndOf="@id/icon" + android:layout_toRightOf="@id/icon" + android:orientation="vertical"> - + - + - + + + + + + + android:layout_below="@id/icon_and_name" + tools:visibility="gone"> +