diff options
Diffstat (limited to 'core/res')
-rw-r--r-- | core/res/res/values/public.xml | 2 | ||||
-rw-r--r-- | core/res/res/values/themes.xml | 22 |
2 files changed, 20 insertions, 4 deletions
diff --git a/core/res/res/values/public.xml b/core/res/res/values/public.xml index d704366..f905725 100644 --- a/core/res/res/values/public.xml +++ b/core/res/res/values/public.xml @@ -1402,6 +1402,8 @@ <public type="style" name="Theme.Holo.Light" /> <public type="style" name="Theme.Holo.Dialog" /> <public type="style" name="Theme.Holo.Light.Dialog" /> + <public type="style" name="Theme.Holo.Extended" /> + <public type="style" name="Theme.Holo.Light.Extended" /> <public type="style" name="Widget.ListPopupWindow" /> <public type="style" name="Widget.PopupMenu" /> diff --git a/core/res/res/values/themes.xml b/core/res/res/values/themes.xml index eeefa9e..077ce26 100644 --- a/core/res/res/values/themes.xml +++ b/core/res/res/values/themes.xml @@ -641,7 +641,7 @@ <item name="colorForeground">@android:color/bright_foreground_holo_dark</item> <item name="colorForegroundInverse">@android:color/bright_foreground_inverse_holo_dark</item> <item name="colorBackground">@android:color/background_holo_dark</item> - <item name="colorBackgroundCacheHint">@android:color/transparent</item> + <item name="colorBackgroundCacheHint">?android:attr/colorBackground</item> <item name="disabledAlpha">0.5</item> <item name="backgroundDimAmount">0.6</item> @@ -734,7 +734,7 @@ <item name="galleryItemBackground">@android:drawable/gallery_item_background</item> <!-- Window attributes --> - <item name="windowBackground">@android:drawable/background_holo_dark</item> + <item name="windowBackground">?android:attr/colorBackground</item> <item name="windowFrame">@null</item> <item name="windowNoTitle">false</item> <item name="windowFullscreen">false</item> @@ -875,7 +875,7 @@ <item name="colorForeground">@android:color/bright_foreground_holo_light</item> <item name="colorForegroundInverse">@android:color/bright_foreground_inverse_holo_light</item> <item name="colorBackground">@android:color/background_holo_light</item> - <item name="colorBackgroundCacheHint">@android:color/transparent</item> + <item name="colorBackgroundCacheHint">?android:attr/colorBackground</item> <item name="disabledAlpha">0.5</item> <item name="backgroundDimAmount">0.6</item> @@ -968,7 +968,7 @@ <item name="galleryItemBackground">@android:drawable/gallery_item_background</item> <!-- Window attributes --> - <item name="windowBackground">@android:drawable/background_holo_light</item> + <item name="windowBackground">?android:attr/colorBackground</item> <item name="windowFrame">@null</item> <item name="windowNoTitle">false</item> <item name="windowFullscreen">false</item> @@ -1129,6 +1129,20 @@ <item name="android:windowFullscreen">true</item> <item name="android:windowContentOverlay">@null</item> </style> + + <!-- Variant of the holographic dark theme that includes extra decorations + appropriate for when hardware acceleration is in use. --> + <style name="Theme.Holo.Extended"> + <item name="windowBackground">@android:drawable/background_holo_dark</item> + <item name="colorBackgroundCacheHint">@android:color/transparent</item> + </style> + + <!-- Variant of the holographic light theme that includes extra decorations + appropriate for when hardware acceleration is in use. --> + <style name="Theme.Holo.Light.Extended"> + <item name="windowBackground">@android:drawable/background_holo_light</item> + <item name="colorBackgroundCacheHint">@android:color/transparent</item> + </style> <!-- Dialog themes for Holo --> |