Skip to content

Commit

Permalink
Merge "Use translucent decor theme attributes in Launcher3." into jb-…
Browse files Browse the repository at this point in the history
…ub-now-indigo-rose
  • Loading branch information
Bjorn Bringert authored and Android (Google) Code Review committed Oct 10, 2013
2 parents 5511ff9 + 3442bc9 commit f248abc
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 87 deletions.
2 changes: 2 additions & 0 deletions res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
</style>

<style name="Theme" parent="@android:style/Theme.Holo.Wallpaper.NoTitleBar">
<item name="android:windowTranslucentStatus">true</item>
<item name="android:windowTranslucentNavigation">true</item>
</style>

<style name="ClingButton">
Expand Down
5 changes: 0 additions & 5 deletions src/com/android/launcher3/Launcher.java
Original file line number Diff line number Diff line change
Expand Up @@ -328,8 +328,6 @@ private enum State { NONE, WORKSPACE, APPS_CUSTOMIZE, APPS_CUSTOMIZE_SPRING_LOAD

private BubbleTextView mWaitingForResume;

protected TranslucentDecor mTransparentDecor;

private HideFromAccessibilityHelper mHideFromAccessibilityHelper
= new HideFromAccessibilityHelper();

Expand Down Expand Up @@ -428,9 +426,6 @@ protected void onCreate(Bundle savedInstanceState) {
checkForLocaleChange();
setContentView(R.layout.launcher);

mTransparentDecor = new TranslucentDecor(findViewById(R.id.launcher));
mTransparentDecor.requestTranslucentDecor(true);

setupViews();
grid.layout(this);

Expand Down
82 changes: 0 additions & 82 deletions src/com/android/launcher3/TranslucentDecor.java

This file was deleted.

0 comments on commit f248abc

Please sign in to comment.