summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorJason Monk <jmonk@google.com>2015-05-19 12:54:53 -0400
committerJason Monk <jmonk@google.com>2015-05-19 13:02:41 -0400
commit7c719ca27ff887903f8890e8181ed8e28bb6e886 (patch)
tree76cdf3bcc6b958d67d21241e685555845e7c025f /res
parentfed504a8ca875d7bba8fd9f4876b7d34fdc1f319 (diff)
downloadandroid_packages_apps_PackageInstaller-7c719ca27ff887903f8890e8181ed8e28bb6e886.tar.gz
android_packages_apps_PackageInstaller-7c719ca27ff887903f8890e8181ed8e28bb6e886.tar.bz2
android_packages_apps_PackageInstaller-7c719ca27ff887903f8890e8181ed8e28bb6e886.zip
Handle dark themes in permissions UI
- Settings > Apps > Advanced > Permissions - Permission icon needed tinting - Settings > Apps > [App] > Permissions - Permission icon also needed tinting - Grant permission dialog - Needed new base theme - App name color span needed dark color - Progress text needed dark color Bug: 21154903 Change-Id: I34045ac71ca87abbb4ce828435f583f53ab0d3da
Diffstat (limited to 'res')
-rwxr-xr-xres/values-night/colors.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/res/values-night/colors.xml b/res/values-night/colors.xml
new file mode 100755
index 00000000..ebcd7be7
--- /dev/null
+++ b/res/values-night/colors.xml
@@ -0,0 +1,21 @@
+<?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>
+ <color name="grant_permissions_app_color">#deffffff</color>
+ <color name="grant_permissions_progress_color">#60ffffff</color>
+</resources>
+