summaryrefslogtreecommitdiffstats
path: root/core/res
diff options
context:
space:
mode:
authorBryan Owens <djbryan3540@gmail.com>2016-05-07 20:51:27 -0500
committerd34d <clark@cyngn.com>2016-06-14 14:37:17 -0700
commit5f8d3f813d6d580b060a783c8271b6cec3794d30 (patch)
treea3913a7b0678388006fbaa743ee80566d53daf53 /core/res
parent91642748f97f26b1194f562a2219749397832b5d (diff)
downloadframeworks_base-5f8d3f813d6d580b060a783c8271b6cec3794d30.zip
frameworks_base-5f8d3f813d6d580b060a783c8271b6cec3794d30.tar.gz
frameworks_base-5f8d3f813d6d580b060a783c8271b6cec3794d30.tar.bz2
Themes: Expose Power Dialogs
This will give themes the ability to invert the three power dialogs without editing a main resource Change-Id: Ibeab94add8ce8c18955576dc49c441883feb18d6 Signed-off-by: Bryan Owens <djbryan3540@gmail.com>
Diffstat (limited to 'core/res')
-rw-r--r--core/res/res/values/cm_styles.xml4
-rw-r--r--core/res/res/values/cm_symbols.xml3
2 files changed, 7 insertions, 0 deletions
diff --git a/core/res/res/values/cm_styles.xml b/core/res/res/values/cm_styles.xml
index df67e14..1d0de05 100644
--- a/core/res/res/values/cm_styles.xml
+++ b/core/res/res/values/cm_styles.xml
@@ -26,4 +26,8 @@
<style name="Theme.Material.Light.Dialog.SyncActivityTooManyDeletes" />
<style name="Theme.Material.Light.Dialog.Alert.NetInitiatedActivity" />
+ <!-- Exposed style for power menu -->
+
+ <style name="Theme.Power.Dialog" parent="@style/Theme.DeviceDefault.Light.DarkActionBar" />
+
</resources>
diff --git a/core/res/res/values/cm_symbols.xml b/core/res/res/values/cm_symbols.xml
index 8a71499..81f33cb 100644
--- a/core/res/res/values/cm_symbols.xml
+++ b/core/res/res/values/cm_symbols.xml
@@ -142,4 +142,7 @@
<!-- Usb drive persistent notification -->
<java-symbol type="bool" name="config_persistUsbDriveNotification" />
+
+ <!--Exposed style for power menu -->
+ <java-symbol type="style" name="Theme.Power.Dialog" />
</resources>