summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip P. Moltmann <moltmann@google.com>2016-05-26 10:48:46 -0700
committerPhilip P. Moltmann <moltmann@google.com>2016-05-26 10:48:51 -0700
commitee9712e72b4d53c362e5e1726339d8f81096a227 (patch)
treef9754d2bb86ca2837e3a07b6eac06c4f081bc71c
parente071d1159277a00e0484dbf43899bc90ea27176c (diff)
downloadandroid_packages_apps_PackageInstaller-ee9712e72b4d53c362e5e1726339d8f81096a227.tar.gz
android_packages_apps_PackageInstaller-ee9712e72b4d53c362e5e1726339d8f81096a227.tar.bz2
android_packages_apps_PackageInstaller-ee9712e72b4d53c362e5e1726339d8f81096a227.zip
Do not cut off top and bottom in landscape view.
In landscape view the title bar height is less than in portait mode and the padding on top and bottom cause cut-offs. Hence make the layout like in install_start.xml Fixes: 28756671 Change-Id: I4df68e41fee6ce67e21a0a282f46c1dcb641f9b8
-rw-r--r--res/layout/app_details.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/res/layout/app_details.xml b/res/layout/app_details.xml
index aa6dd5ab..86923c5c 100644
--- a/res/layout/app_details.xml
+++ b/res/layout/app_details.xml
@@ -23,10 +23,10 @@ installation screens
android:id="@+id/app_snippet"
android:layout_width="match_parent"
android:layout_height="?android:attr/actionBarSize"
- android:padding="16dp"
android:orientation="horizontal">
<ImageView android:id="@+id/app_icon"
+ android:layout_marginLeft="16dp"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_gravity="center_vertical"
@@ -35,6 +35,7 @@ installation screens
<TextView android:id="@+id/app_name"
android:layout_gravity="center_vertical"
android:layout_marginLeft="32dp"
+ android:layout_marginRight="16dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/titleTextStyle"