summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorAnthony Hugh <ahugh@google.com>2015-09-16 17:51:10 -0700
committerAnthony Hugh <ahugh@google.com>2015-09-17 10:44:12 -0700
commit736c82ba577f8f972ea4277357ae440b192dcd13 (patch)
treef4ced1548148c2b69a033907485259e56694593f /res
parent1a61dfd0af382e64ecd6ff91361036b22fcf52e9 (diff)
downloadandroid_packages_apps_PackageInstaller-736c82ba577f8f972ea4277357ae440b192dcd13.tar.gz
android_packages_apps_PackageInstaller-736c82ba577f8f972ea4277357ae440b192dcd13.tar.bz2
android_packages_apps_PackageInstaller-736c82ba577f8f972ea4277357ae440b192dcd13.zip
Permissions Settings UI updates
Changes: - Moved non-system permission groups to the end of the list - Updated "disabled" look to match non-center looked - Fixed state string alpha to match other alphas when not centered - Minor code clean ups BUG: 24132393 BUG: 24132470 BUG: 24131983 Change-Id: I65a64d59e6fff8e0cbdaaa3da4e4a79987d6e624
Diffstat (limited to 'res')
-rw-r--r--res/layout-watch/permissions_settings_item.xml7
-rw-r--r--res/values-watch/colors.xml2
2 files changed, 6 insertions, 3 deletions
diff --git a/res/layout-watch/permissions_settings_item.xml b/res/layout-watch/permissions_settings_item.xml
index 1c57fd81..1dc4abf7 100644
--- a/res/layout-watch/permissions_settings_item.xml
+++ b/res/layout-watch/permissions_settings_item.xml
@@ -27,17 +27,18 @@
android:fontFamily="sans-serif-condensed-light"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:textColor="#FFFFFFFF"
+ android:textColor="@color/permissions_settings_item_color"
android:textSize="14sp"
android:maxLines="2"
android:ellipsize="end"/>
<TextView
android:id="@+id/state"
+ android:alpha="0.5"
+ android:fontFamily="sans-serif-condensed-light"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
+ android:textColor="@color/permissions_settings_item_color"
android:textSize="14sp"
- android:textColor="#FFFFFFFF"
- android:fontFamily="sans-serif-condensed-light"
android:maxLines="1"
android:ellipsize="end"/>
</LinearLayout>
diff --git a/res/values-watch/colors.xml b/res/values-watch/colors.xml
index 39c3eb48..b81d6e3b 100644
--- a/res/values-watch/colors.xml
+++ b/res/values-watch/colors.xml
@@ -22,6 +22,8 @@
<color name="grant_permissions_white_text_alpha_100">@color/off_white</color>
<color name="grant_permissions_white_text_alpha_70">#b2eeeeee</color>
+ <color name="permissions_settings_item_color">#FFFFFFFF</color>
+
<color name="off_white">#ffeeeeee</color>
<color name="primary_text_light">#424242</color>