mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-17 11:25:34 -04:00
Made Full Screen Button Visibly Transparent
This commit is contained in:
parent
fc5dfe2967
commit
b230111a99
@ -1024,6 +1024,7 @@ public abstract class CoreReaderFragment extends BaseFragment
|
||||
toolbarContainer.setVisibility(View.GONE);
|
||||
bottomToolbar.setVisibility(View.GONE);
|
||||
exitFullscreenButton.setVisibility(View.VISIBLE);
|
||||
exitFullscreenButton.getBackground().setAlpha(60);
|
||||
int fullScreenFlag = WindowManager.LayoutParams.FLAG_FULLSCREEN;
|
||||
int classicScreenFlag = WindowManager.LayoutParams.FLAG_FORCE_NOT_FULLSCREEN;
|
||||
getActivity().getWindow().addFlags(fullScreenFlag);
|
||||
|
@ -69,7 +69,6 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="@dimen/fullscreen_control_button_margin"
|
||||
android:alpha="0.6"
|
||||
android:background="?colorOnSurface"
|
||||
android:contentDescription="@string/menu_exit_full_screen"
|
||||
android:tint="?colorSurface"
|
||||
|
Loading…
x
Reference in New Issue
Block a user