summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2012-09-27 13:52:01 -0700
committerDianne Hackborn <hackbod@google.com>2012-09-27 15:37:55 -0700
commit860959202df6e79636a68cc94ea94268fcbdc305 (patch)
tree8b7298e6345531d52fba04c0e89afe0e4d85bc03 /res/layout
parent6213650e4ffcb81a67ac9f75efc602a91246117d (diff)
downloadandroid_packages_apps_PackageInstaller-860959202df6e79636a68cc94ea94268fcbdc305.tar.gz
android_packages_apps_PackageInstaller-860959202df6e79636a68cc94ea94268fcbdc305.tar.bz2
android_packages_apps_PackageInstaller-860959202df6e79636a68cc94ea94268fcbdc305.zip
Fix issue #7240599 Permissions UI: left side padding on...
...Device Access and Privacy headings Change-Id: I9aca7d9fec60d4312ca13d8bce26fc7aebfe326c
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/install_confirm.xml10
-rw-r--r--res/layout/permissions_list.xml14
2 files changed, 19 insertions, 5 deletions
diff --git a/res/layout/install_confirm.xml b/res/layout/install_confirm.xml
index ed7f33b5..9589e8ad 100644
--- a/res/layout/install_confirm.xml
+++ b/res/layout/install_confirm.xml
@@ -34,7 +34,15 @@
android:text="@string/install_confirm_question"
android:textAppearance="?android:attr/textAppearanceMedium"
style="@style/padded"
- android:paddingTop="12dip" />
+ android:paddingTop="4dip" />
+
+ <ImageView
+ android:id="@+id/divider"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="16dp"
+ android:background="?android:attr/dividerHorizontal"
+ android:visibility="gone" />
<TabHost
android:id="@android:id/tabhost"
diff --git a/res/layout/permissions_list.xml b/res/layout/permissions_list.xml
index 55eb81dd..ee906995 100644
--- a/res/layout/permissions_list.xml
+++ b/res/layout/permissions_list.xml
@@ -28,19 +28,25 @@ This is the structure for the list of all permissions.
<LinearLayout android:id="@+id/privacylist"
android:orientation="vertical"
android:layout_width="match_parent"
- android:layout_height="wrap_content">
+ android:layout_height="wrap_content"
+ android:layout_marginTop="4dp"
+ android:layout_marginBottom="4dp">
<TextView
style="?android:attr/listSeparatorTextViewStyle"
- android:layout_marginTop="8dip"
+ android:layout_marginStart="16dp"
+ android:layout_marginEnd="16dp"
android:text="@string/privacyPerms" />
</LinearLayout>
<LinearLayout android:id="@+id/devicelist"
android:orientation="vertical"
android:layout_width="match_parent"
- android:layout_height="wrap_content">
+ android:layout_height="wrap_content"
+ android:layout_marginTop="4dp"
+ android:layout_marginBottom="4dp">
<TextView
style="?android:attr/listSeparatorTextViewStyle"
- android:layout_marginTop="8dip"
+ android:layout_marginStart="16dp"
+ android:layout_marginEnd="16dp"
android:text="@string/devicePerms" />
</LinearLayout>
</LinearLayout>