Fix issue #662 - Fix nav bar color in light mode
This commit is contained in:
parent
fa2355b25f
commit
f4a38504cd
|
@ -495,10 +495,10 @@ public class MediaActivity extends BaseTransparentActivity implements OnDownload
|
||||||
// except for the ones that make the content appear under the system bars.
|
// except for the ones that make the content appear under the system bars.
|
||||||
private void showSystemUI() {
|
private void showSystemUI() {
|
||||||
View decorView = getWindow().getDecorView();
|
View decorView = getWindow().getDecorView();
|
||||||
decorView.setSystemUiVisibility(
|
decorView.setSystemUiVisibility(flags |
|
||||||
View.SYSTEM_UI_FLAG_LAYOUT_STABLE
|
View.SYSTEM_UI_FLAG_LAYOUT_STABLE
|
||||||
| View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION
|
| View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION
|
||||||
| View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN);
|
| View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN);
|
||||||
}
|
}
|
||||||
|
|
||||||
public FragmentMedia getCurrentFragment() {
|
public FragmentMedia getCurrentFragment() {
|
||||||
|
|
Loading…
Reference in New Issue