File tree Expand file tree Collapse file tree
java/com/blankj/androidutilcode/feature/core/screen Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ public void initData(@Nullable Bundle bundle) {
3434 if (ScreenUtils .isPortrait ()) {
3535 ScreenUtils .adaptScreen4VerticalSlide (this , 720 );
3636 } else {
37+ ScreenUtils .setFullScreen (this );
3738 ScreenUtils .adaptScreen4HorizontalSlide (this , 720 );
3839 }
3940 }
Original file line number Diff line number Diff line change 88 android : layout_width =" 2000dp"
99 android : layout_height =" match_parent" >
1010
11- <TextView
12- android : id =" @+id/tv_fullscreen"
13- android : layout_width =" wrap_content"
14- android : layout_height =" match_parent"
15- android : gravity =" center"
16- android : onClick =" toggleFullScreen"
17- android : text =" Toggle Full Screen"
18- android : textSize =" @dimen/font_24" />
19-
2011 <TextView
2112 android : id =" @+id/tv_up"
2213 style =" @style/TextStyle"
2314 android : layout_width =" 2000dp"
2415 android : layout_height =" 360dp"
2516 android : layout_alignParentTop =" true"
26- android : layout_toRightOf =" @id/tv_fullscreen"
2717 android : background =" @color/colorAccentHalfTrans"
2818 android : gravity =" center_vertical"
2919 android : text =" 360dp" />
3424 android : layout_width =" 2000dp"
3525 android : layout_height =" 360dp"
3626 android : layout_alignParentBottom =" true"
37- android : layout_toRightOf =" @id/tv_fullscreen"
3827 android : background =" @color/colorPrimaryHalfTrans"
3928 android : gravity =" center_vertical"
4029 android : text =" 360dp" />
You can’t perform that action at this time.
0 commit comments