styles.xml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. /*
  4. * Copyright (C) 2013 The Android Open Source Project
  5. *
  6. * Licensed under the Apache License, Version 2.0 (the "License");
  7. * you may not use this file except in compliance with the License.
  8. * You may obtain a copy of the License at
  9. *
  10. * http://www.apache.org/licenses/LICENSE-2.0
  11. *
  12. * Unless required by applicable law or agreed to in writing, software
  13. * distributed under the License is distributed on an "AS IS" BASIS,
  14. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. * See the License for the specific language governing permissions and
  16. * limitations under the License.
  17. */
  18. -->
  19. <resources xmlns:android="http://schemas.android.com/apk/res/android">
  20. <style name="Theme.WallpaperCropper" parent="@android:style/Theme.DeviceDefault">
  21. <item name="android:actionBarStyle">@style/WallpaperCropperActionBar</item>
  22. <item name="android:windowFullscreen">true</item>
  23. <item name="android:windowActionBarOverlay">true</item>
  24. </style>
  25. <style name="Theme.WallpaperPicker" parent="Theme.WallpaperCropper">
  26. <item name="android:windowBackground">@android:color/transparent</item>
  27. <item name="android:colorBackgroundCacheHint">@null</item>
  28. <item name="android:windowShowWallpaper">true</item>
  29. </style>
  30. <style name="WallpaperCropperActionBar" parent="@android:style/Widget.DeviceDefault.ActionBar">
  31. <item name="android:displayOptions">showCustom</item>
  32. <item name="android:background">#88000000</item>
  33. </style>
  34. <style name="BaseWallpaperTheme" parent="@android:style/Theme.DeviceDefault.Light.NoActionBar">
  35. <item name="android:windowBackground">@android:color/transparent</item>
  36. <item name="android:colorBackgroundCacheHint">@null</item>
  37. <item name="android:windowShowWallpaper">true</item>
  38. <item name="android:windowNoTitle">true</item>
  39. </style>
  40. <style name="Theme" parent="@style/BaseWallpaperTheme"></style>
  41. <style name="ActionBarSetWallpaperStyle" parent="@android:style/Widget.DeviceDefault.ActionButton">
  42. <item name="android:textColor">#ffffffff</item>
  43. <item name="android:background">?android:attr/selectableItemBackground</item>
  44. </style>
  45. </resources>