mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-17 19:35:36 -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);
|
toolbarContainer.setVisibility(View.GONE);
|
||||||
bottomToolbar.setVisibility(View.GONE);
|
bottomToolbar.setVisibility(View.GONE);
|
||||||
exitFullscreenButton.setVisibility(View.VISIBLE);
|
exitFullscreenButton.setVisibility(View.VISIBLE);
|
||||||
|
exitFullscreenButton.getBackground().setAlpha(60);
|
||||||
int fullScreenFlag = WindowManager.LayoutParams.FLAG_FULLSCREEN;
|
int fullScreenFlag = WindowManager.LayoutParams.FLAG_FULLSCREEN;
|
||||||
int classicScreenFlag = WindowManager.LayoutParams.FLAG_FORCE_NOT_FULLSCREEN;
|
int classicScreenFlag = WindowManager.LayoutParams.FLAG_FORCE_NOT_FULLSCREEN;
|
||||||
getActivity().getWindow().addFlags(fullScreenFlag);
|
getActivity().getWindow().addFlags(fullScreenFlag);
|
||||||
|
@ -69,7 +69,6 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_margin="@dimen/fullscreen_control_button_margin"
|
android:layout_margin="@dimen/fullscreen_control_button_margin"
|
||||||
android:alpha="0.6"
|
|
||||||
android:background="?colorOnSurface"
|
android:background="?colorOnSurface"
|
||||||
android:contentDescription="@string/menu_exit_full_screen"
|
android:contentDescription="@string/menu_exit_full_screen"
|
||||||
android:tint="?colorSurface"
|
android:tint="?colorSurface"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user