diff options
author | daniel oeh <daniel.oeh@gmail.com> | 2014-11-19 16:05:27 +0100 |
---|---|---|
committer | daniel oeh <daniel.oeh@gmail.com> | 2014-11-19 16:05:27 +0100 |
commit | 7aff9dc3aac988fc697e9ec8d84b81e596b1a6ac (patch) | |
tree | 0f3663ea330b96291d5e9250c8ab03212e239d12 /app/src/main/java/de | |
parent | 9996682fdc5225c3ffee7a3bf475b11cf5ee0f9b (diff) | |
download | AntennaPod-7aff9dc3aac988fc697e9ec8d84b81e596b1a6ac.zip |
Call supportRequestWindowFeature before setting layout content
Diffstat (limited to 'app/src/main/java/de')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/activity/VideoplayerActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/activity/VideoplayerActivity.java b/app/src/main/java/de/danoeh/antennapod/activity/VideoplayerActivity.java index a06259fff..d625f21da 100644 --- a/app/src/main/java/de/danoeh/antennapod/activity/VideoplayerActivity.java +++ b/app/src/main/java/de/danoeh/antennapod/activity/VideoplayerActivity.java @@ -54,8 +54,8 @@ public class VideoplayerActivity extends MediaplayerActivity { @Override protected void onCreate(Bundle savedInstanceState) { getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); + supportRequestWindowFeature(WindowCompat.FEATURE_ACTION_BAR_OVERLAY); // has to be called before setting layout content super.onCreate(savedInstanceState); - supportRequestWindowFeature(WindowCompat.FEATURE_ACTION_BAR_OVERLAY); getSupportActionBar().setBackgroundDrawable(new ColorDrawable(0x80000000)); } |