diff options
author | Owen Lin <owenlin@google.com> | 2012-08-27 10:01:22 +0800 |
---|---|---|
committer | Owen Lin <owenlin@google.com> | 2012-08-28 17:09:06 +0800 |
commit | 279852dfcec2abacee1c5d8b6f53f94830fd4e86 (patch) | |
tree | 97d7723216867e2d18d196568cecbfd9016125a5 /src/com/android/gallery3d/app/MovieActivity.java | |
parent | 1cbddfcb7d1f5ab087a1ee0d2dc98331bd6d4998 (diff) | |
download | android_packages_apps_Snap-279852dfcec2abacee1c5d8b6f53f94830fd4e86.tar.gz android_packages_apps_Snap-279852dfcec2abacee1c5d8b6f53f94830fd4e86.tar.bz2 android_packages_apps_Snap-279852dfcec2abacee1c5d8b6f53f94830fd4e86.zip |
Fix some UI bugs in using SherlockActionBar.
- Use sherlock's verion of requestWindowFeature.
- Use sherlock's theme in Custom selection list.
bug: 6927267
Change-Id: I706e45378b10e6e088e048d97fcaca57fb4bf3f4
Diffstat (limited to 'src/com/android/gallery3d/app/MovieActivity.java')
-rw-r--r-- | src/com/android/gallery3d/app/MovieActivity.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/gallery3d/app/MovieActivity.java b/src/com/android/gallery3d/app/MovieActivity.java index 820bd1003..d725e6d12 100644 --- a/src/com/android/gallery3d/app/MovieActivity.java +++ b/src/com/android/gallery3d/app/MovieActivity.java @@ -75,8 +75,8 @@ public class MovieActivity extends SherlockActivity { public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); - requestWindowFeature(Window.FEATURE_ACTION_BAR); - requestWindowFeature(Window.FEATURE_ACTION_BAR_OVERLAY); + getSherlock().requestFeature(Window.FEATURE_ACTION_BAR); + getSherlock().requestFeature(Window.FEATURE_ACTION_BAR_OVERLAY); setContentView(R.layout.movie_view); View rootView = findViewById(R.id.movie_view_root); |