Skip to content

Commit 67bee0f

Browse files
committed
see 08/10 log
1 parent c792c31 commit 67bee0f

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

app/src/main/java/com/blankj/androidutilcode/feature/core/screen/ScreenAdaptActivity.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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
}

app/src/main/res_core/layout-land/activity_screen_adapt.xml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,12 @@
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" />
@@ -34,7 +24,6 @@
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" />

0 commit comments

Comments
 (0)