diff --git a/app/src/main/res/drawable/loading.png b/app/src/main/res/drawable/loading.png index d9f33a6..f225ffc 100644 Binary files a/app/src/main/res/drawable/loading.png and b/app/src/main/res/drawable/loading.png differ diff --git a/app/src/main/res/drawable/pause.png b/app/src/main/res/drawable/pause.png index a352765..d8973ef 100644 Binary files a/app/src/main/res/drawable/pause.png and b/app/src/main/res/drawable/pause.png differ diff --git a/app/src/main/res/mipmap-hdpi/ic_launcher.png b/app/src/main/res/mipmap-hdpi/ic_launcher.png index cde69bc..1e6a465 100644 Binary files a/app/src/main/res/mipmap-hdpi/ic_launcher.png and b/app/src/main/res/mipmap-hdpi/ic_launcher.png differ diff --git a/app/src/main/res/mipmap-mdpi/ic_launcher.png b/app/src/main/res/mipmap-mdpi/ic_launcher.png index c133a0c..7c9a103 100644 Binary files a/app/src/main/res/mipmap-mdpi/ic_launcher.png and b/app/src/main/res/mipmap-mdpi/ic_launcher.png differ diff --git a/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/app/src/main/res/mipmap-xhdpi/ic_launcher.png index bfa42f0..8eeb9e5 100644 Binary files a/app/src/main/res/mipmap-xhdpi/ic_launcher.png and b/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/app/src/main/res/mipmap-xxhdpi/ic_launcher.png index 324e72c..12abb67 100644 Binary files a/app/src/main/res/mipmap-xxhdpi/ic_launcher.png and b/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png index aee44e1..c325ecf 100644 Binary files a/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png and b/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/giraffeplayer2/src/main/java/tcking/github/com/giraffeplayer2/GiraffePlayer.java b/giraffeplayer2/src/main/java/tcking/github/com/giraffeplayer2/GiraffePlayer.java index a8cd560..81089d7 100644 --- a/giraffeplayer2/src/main/java/tcking/github/com/giraffeplayer2/GiraffePlayer.java +++ b/giraffeplayer2/src/main/java/tcking/github/com/giraffeplayer2/GiraffePlayer.java @@ -777,6 +777,18 @@ public GiraffePlayer setDisplayModel(int targetDisplayModel) { } uiHelper.showActionBar(false).fullScreen(true); ViewGroup activityBox = (ViewGroup) activity.findViewById(android.R.id.content); + + View decorView = activity.getWindow().getDecorView(); + decorView.setSystemUiVisibility( + View.SYSTEM_UI_FLAG_IMMERSIVE + // Set the content to appear under the system bars so that the + // content doesn't resize when the system bars hide and show. + | View.SYSTEM_UI_FLAG_LAYOUT_STABLE + | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION + | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN + // Hide the nav bar and status bar + | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION + | View.SYSTEM_UI_FLAG_FULLSCREEN); animateIntoContainerAndThen(activityBox, new VideoViewAnimationListener() { @@ -810,7 +822,9 @@ public void onEnd(ViewGroup src, ViewGroup target) { ignoreOrientation = ActivityInfo.SCREEN_ORIENTATION_PORTRAIT; } uiHelper.showActionBar(true).fullScreen(false); - + + View decorView = activity.getWindow().getDecorView(); + decorView.setSystemUiVisibility(View.SYSTEM_UI_FLAG_VISIBLE); animateIntoContainerAndThen(videoView, new VideoViewAnimationListener() { diff --git a/giraffeplayer2/src/main/res/drawable-xxhdpi/ic_close_white_24dp.png b/giraffeplayer2/src/main/res/drawable-xxhdpi/ic_close_white_24dp.png index fe19c4a..be32d9c 100644 Binary files a/giraffeplayer2/src/main/res/drawable-xxhdpi/ic_close_white_24dp.png and b/giraffeplayer2/src/main/res/drawable-xxhdpi/ic_close_white_24dp.png differ diff --git a/giraffeplayer2/src/main/res/drawable-xxhdpi/ic_setting_white_24dp.png b/giraffeplayer2/src/main/res/drawable-xxhdpi/ic_setting_white_24dp.png index 0794a71..8ca3e74 100644 Binary files a/giraffeplayer2/src/main/res/drawable-xxhdpi/ic_setting_white_24dp.png and b/giraffeplayer2/src/main/res/drawable-xxhdpi/ic_setting_white_24dp.png differ