summaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
authorTony Mantler <nicoya@google.com>2015-04-21 14:23:07 -0700
committerTony Mantler <nicoya@google.com>2015-04-22 10:08:01 -0700
commitbbc9216d829bf95ea718d430b8b7909c5a259b9b (patch)
tree483174d0c8df0b9c5aa2276134c9c66e953e5a16 /res/values
parentaaf084f3f9bc3e89660791f83b5425bd70484be8 (diff)
downloadandroid_packages_apps_PackageInstaller-bbc9216d829bf95ea718d430b8b7909c5a259b9b.tar.gz
android_packages_apps_PackageInstaller-bbc9216d829bf95ea718d430b8b7909c5a259b9b.tar.bz2
android_packages_apps_PackageInstaller-bbc9216d829bf95ea718d430b8b7909c5a259b9b.zip
Add leanback-looking UI to permissions screens
Change-Id: Ib77227dc0ae4d02f96efff95f67a359310b5547c
Diffstat (limited to 'res/values')
-rwxr-xr-xres/values/colors.xml7
-rw-r--r--res/values/dimens.xml15
-rw-r--r--res/values/themes.xml20
3 files changed, 42 insertions, 0 deletions
diff --git a/res/values/colors.xml b/res/values/colors.xml
index ae10cb28..549f55fd 100755
--- a/res/values/colors.xml
+++ b/res/values/colors.xml
@@ -20,5 +20,12 @@
<color name="header_background_color">#ff37474f</color>
<color name="grant_permissions_app_color">@*android:color/primary_text_default_material_light</color>
<color name="grant_permissions_progress_color">#60000000</color>
+
+ <color name="lb_content_title_text_color">#FFF1F1F1</color>
+ <color name="lb_content_breadcrumb_text_color">#88F1F1F1</color>
+ <color name="lb_content_description_text_color">#88F1F1F1</color>
+ <color name="lb_action_fragment_background">#FF111111</color>
+ <color name="lb_dialog_activity_background">#77000000</color>
+
</resources>
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
index 028def55..05845021 100644
--- a/res/values/dimens.xml
+++ b/res/values/dimens.xml
@@ -22,4 +22,19 @@
<!-- Header margin start / end -->
<dimen name="header_margin_start">16dp</dimen>
<dimen name="header_margin_end">16dp</dimen>
+
+ <dimen name="lb_action_section_width">384dp</dimen>
+
+ <dimen name="lb_content_section_width">576dp</dimen>
+ <dimen name="lb_content_fragment_start_padding">48dp</dimen>
+ <dimen name="lb_content_fragment_delimiter_padding">16dp</dimen>
+ <dimen name="lb_content_fragment_max_icon_height">280dp</dimen>
+ <dimen name="lb_content_fragment_title_text_top_padding">2dp</dimen>
+ <dimen name="lb_content_fragment_title_text_size">36sp</dimen>
+ <dimen name="lb_content_fragment_icon_width">140dp</dimen>
+
+ <dimen name="lb_content_fragment_breadcrumb_text_size">18sp</dimen>
+ <dimen name="lb_content_fragment_description_text_size">14sp</dimen>
+ <dimen name="lb_content_fragment_title_text_bottom_padding">4dp</dimen>
+
</resources>
diff --git a/res/values/themes.xml b/res/values/themes.xml
new file mode 100644
index 00000000..0ae7eb84
--- /dev/null
+++ b/res/values/themes.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ Copyright (C) 2015 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="Settings" parent="@android:style/Theme.Material.Settings" />
+</resources>