diff options
author | Ahbong Chang <cwahbong@google.com> | 2012-08-21 14:06:51 +0800 |
---|---|---|
committer | Ahbong Chang <cwahbong@google.com> | 2012-08-22 16:22:25 +0800 |
commit | 68ef563aba1a1fec69484830bf530df142ed3553 (patch) | |
tree | 1cc3838588cc9e191cbb426c9fdafb844d81ff1a | |
parent | ad631de36ade7d5039c157555cc2b3ba5d1e3b56 (diff) | |
download | android_packages_apps_Snap-68ef563aba1a1fec69484830bf530df142ed3553.tar.gz android_packages_apps_Snap-68ef563aba1a1fec69484830bf530df142ed3553.tar.bz2 android_packages_apps_Snap-68ef563aba1a1fec69484830bf530df142ed3553.zip |
Do not use Theme.Holo and Theme.Holo.Dialog on gingerbread.
Bug: 6982707
Change-Id: I84726bcd6cefcc3bd0f313306163a3d80d9cdade
-rw-r--r-- | res/values-v11/styles.xml | 23 | ||||
-rw-r--r-- | res/values/styles.xml | 3 |
2 files changed, 25 insertions, 1 deletions
diff --git a/res/values-v11/styles.xml b/res/values-v11/styles.xml new file mode 100644 index 000000000..56c036317 --- /dev/null +++ b/res/values-v11/styles.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2012 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="Theme.GalleryBase" parent="android:Theme.Holo"> + <item name="listPreferredItemHeightSmall">48dp</item> + <item name="switchStyle">@android:style/Widget.CompoundButton</item> + </style> + <style name="Theme.Gallery.Dialog" parent="android:Theme.Holo.Dialog"/> +</resources> diff --git a/res/values/styles.xml b/res/values/styles.xml index 3239f681d..9bbee9191 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -15,10 +15,11 @@ --> <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <style name="Theme.GalleryBase" parent="android:Theme.Holo"> + <style name="Theme.GalleryBase" parent="android:Theme.Black"> <item name="listPreferredItemHeightSmall">48dp</item> <item name="switchStyle">@android:style/Widget.CompoundButton</item> </style> + <style name="Theme.Gallery.Dialog" parent="android:Theme.Dialog"/> <style name="Theme.Gallery" parent="Theme.GalleryBase"> <item name="android:displayOptions"></item> <item name="android:windowContentOverlay">@null</item> |