Skip to content

Commit

Permalink
hide the Android status bar when viewing a single video in fullscreen
Browse files Browse the repository at this point in the history
  • Loading branch information
warren-bank committed May 19, 2022
1 parent 71bac57 commit 25b00b1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

<activity
android:name=".fullscreen_view.activities.VideoActivity"
android:theme="@style/AppTheme.NoActionBar"
android:theme="@style/AppTheme.NoActionBar.Fullscreen"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|screenLayout|smallestScreenSize|uiMode" />

<activity
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
<item name="windowNoTitle">true</item>
</style>

<style name="AppTheme.NoActionBar.Fullscreen">
<item name="android:windowFullscreen">true</item>
</style>

<style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar">
<item name="android:background">@color/appBarBackground</item>
<item name="android:textColor">@color/appBarTextColor</item>
Expand Down

0 comments on commit 25b00b1

Please sign in to comment.