diff options
author | Dianne Hackborn <hackbod@google.com> | 2012-09-27 13:52:01 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2012-09-27 15:37:55 -0700 |
commit | 860959202df6e79636a68cc94ea94268fcbdc305 (patch) | |
tree | 8b7298e6345531d52fba04c0e89afe0e4d85bc03 /res | |
parent | 6213650e4ffcb81a67ac9f75efc602a91246117d (diff) | |
download | android_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')
-rw-r--r-- | res/layout/install_confirm.xml | 10 | ||||
-rw-r--r-- | res/layout/permissions_list.xml | 14 | ||||
-rwxr-xr-x | res/values-large/styles.xml | 21 | ||||
-rwxr-xr-x | res/values/styles.xml | 2 |
4 files changed, 42 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> diff --git a/res/values-large/styles.xml b/res/values-large/styles.xml new file mode 100755 index 00000000..c7b2ec42 --- /dev/null +++ b/res/values-large/styles.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2010 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<resources> + <style name="DialogWhenLarge" + parent="@android:style/Theme.DeviceDefault.Dialog.NoActionBar.MinWidth"> + </style> +</resources> diff --git a/res/values/styles.xml b/res/values/styles.xml index f03a37e2..5a5cb7e0 100755 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -19,4 +19,6 @@ <item name="android:paddingLeft">16dip</item> <item name="android:paddingRight">16dip</item> </style> + <style name="DialogWhenLarge" parent="@android:style/Theme.DeviceDefault.NoActionBar"> + </style> </resources> |