OSDN Git Service

Remove action bar from wallpaper picker
authorMichael Jurka <mikejurka@google.com>
Tue, 25 Sep 2012 02:05:00 +0000 (19:05 -0700)
committerMichael Jurka <mikejurka@google.com>
Tue, 25 Sep 2012 18:36:39 +0000 (11:36 -0700)
Bug: 5295678

Change-Id: I50bb4bee3d9d54f28ef4a46ed9754701045d38c7

AndroidManifest.xml
res/values/styles.xml

index d0ca53e..05838a6 100644 (file)
@@ -85,7 +85,7 @@
 
         <activity
             android:name="com.android.launcher2.WallpaperChooser"
-            style="@style/Theme.WallpaperPicker"
+            android:theme="@style/Theme.WallpaperPicker"
             android:label="@string/pick_wallpaper"
             android:icon="@drawable/ic_launcher_wallpaper"
             android:finishOnCloseSystemDialogs="true"
index fed4194..0960269 100644 (file)
@@ -18,8 +18,7 @@
 -->
 
 <resources>
-    <style name="Theme.WallpaperPicker">
-        <item name="android:screenOrientation">nosensor</item>
+    <style name="Theme.WallpaperPicker" parent="@android:style/Theme.Holo.NoActionBar">
     </style>
 
     <style name="Theme" parent="@android:style/Theme.Holo.Wallpaper.NoTitleBar">