am fba90848: Merge "Switch to using theme for translucent nav bars" into jb-ub-now-indigo-rose

* commit 'fba90848168dcff3d31b1acb3bcf45c6b5daa9cd':
  Switch to using theme for translucent nav bars
This commit is contained in:
Michael Jurka authored and Android Git Automerger committed 2013-10-08 12:39:54 -07:00
commit 13647bb6d8
3 files changed
+1 -4

No files matched your search

+1
View File
@@ -22,6 +22,7 @@
<item name="android:actionBarStyle">@style/WallpaperCropperActionBar</item>
<item name="android:windowFullscreen">true</item>
<item name="android:windowActionBarOverlay">true</item>
<item name="android:windowTranslucentNavigation">true</item>
</style>
<style name="WallpaperCropperActionBar" parent="android:style/Widget.Holo.ActionBar">
@@ -102,8 +102,6 @@ public class WallpaperCropActivity extends Activity {
cropImageAndSetWallpaper(imageUri, null, finishActivityWhenDone);
}
});
TranslucentDecor transparentDecor = new TranslucentDecor(findViewById(R.id.wallpaper_root));
transparentDecor.requestTranslucentDecor(true);
}
public boolean enableRotation() {
@@ -181,8 +181,6 @@ public class WallpaperPickerActivity extends WallpaperCropActivity {
protected void init() {
setContentView(R.layout.wallpaper_picker);
final WallpaperRootView root = (WallpaperRootView) findViewById(R.id.wallpaper_root);
TranslucentDecor transparentDecor = new TranslucentDecor(root);
transparentDecor.requestTranslucentDecor(true);
mCropView = (CropView) findViewById(R.id.cropView);
mWallpaperStrip = findViewById(R.id.wallpaper_strip);