ffed65886e
When opening the picker, the currently chosen wallpaper is shown in the background. In this change also the nullpointer was fixed when deleting the currently selected wallpaper and setting it, because we revert to the old wallpaper in that case. When going into the same live wallpaper than the currently selected we are going back to home if the user sets it or goes back now, in order for the user not to loose state. The real fix for this will be done later when the following bug will be fixed: b/13241760 Bug: 12063773 Bug: 13219612 Change-Id: I7c6abb25755eca99c3255278e0884d1ff4749b55
45 lines
1.7 KiB
XML
45 lines
1.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
/*
|
|
* Copyright (C) 2013 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.WallpaperCropper" parent="@android:style/Theme.Holo">
|
|
<item name="android:actionBarStyle">@style/WallpaperCropperActionBar</item>
|
|
<item name="android:windowFullscreen">true</item>
|
|
<item name="android:windowActionBarOverlay">true</item>
|
|
</style>
|
|
|
|
<style name="Theme.WallpaperPicker" parent="Theme.WallpaperCropper">
|
|
<item name="android:windowBackground">@android:color/transparent</item>
|
|
<item name="android:colorBackgroundCacheHint">@null</item>
|
|
<item name="android:windowShowWallpaper">true</item>
|
|
</style>
|
|
|
|
<style name="WallpaperCropperActionBar" parent="android:style/Widget.Holo.ActionBar">
|
|
<item name="android:displayOptions">showCustom</item>
|
|
<item name="android:background">#88000000</item>
|
|
</style>
|
|
|
|
<style name="Theme" parent="@android:style/Theme.Holo.Wallpaper.NoTitleBar">
|
|
</style>
|
|
|
|
<style name="ActionBarSetWallpaperStyle" parent="@android:style/Widget.Holo.ActionButton">
|
|
<item name="android:textColor">#ffffffff</item>
|
|
</style>
|
|
</resources>
|