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 | ab15e830ee7b0bf81d979de57f947c334e9edb14 (patch) | |
| tree | 238a227faba484c7ffc37159e922240e448fe195 /res | |
| parent | 20f54bd2a66eb4e1fdf78abe9ba514395d2bcd83 (diff) | |
| download | android_packages_apps_Gallery2-ab15e830ee7b0bf81d979de57f947c334e9edb14.tar.gz android_packages_apps_Gallery2-ab15e830ee7b0bf81d979de57f947c334e9edb14.tar.bz2 android_packages_apps_Gallery2-ab15e830ee7b0bf81d979de57f947c334e9edb14.zip | |
Do not use Theme.Holo and Theme.Holo.Dialog on gingerbread.
Bug: 6982707
Change-Id: I84726bcd6cefcc3bd0f313306163a3d80d9cdade
Diffstat (limited to 'res')
| -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> |
