shell fitsSystemWindows
This commit is contained in:
parent
f0320dfdfe
commit
ee9ea21eef
|
@ -53,21 +53,6 @@ public class ShellActivity extends FCLActivity {
|
||||||
if (cmd.contains("clear")) {
|
if (cmd.contains("clear")) {
|
||||||
logWindow.cleanLog();
|
logWindow.cleanLog();
|
||||||
return;
|
return;
|
||||||
} else if (cmd.contains("启用隐藏主题")) {
|
|
||||||
|
|
||||||
return;
|
|
||||||
} else if (cmd.contains("fullscreen")) {
|
|
||||||
Theme theme = Theme.getTheme(ShellActivity.this);
|
|
||||||
if (cmd.contains("true")) {
|
|
||||||
theme.setFullscreen(true);
|
|
||||||
Theme.saveTheme(ShellActivity.this, theme);
|
|
||||||
logWindow.appendLog("fullscreen=true\n");
|
|
||||||
} else if (cmd.contains("false")) {
|
|
||||||
theme.setFullscreen(false);
|
|
||||||
Theme.saveTheme(ShellActivity.this, theme);
|
|
||||||
logWindow.appendLog("fullscreen=false\n");
|
|
||||||
}
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
shellUtil.append(cmd);
|
shellUtil.append(cmd);
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:background="@color/white"
|
android:background="@color/white"
|
||||||
|
android:fitsSystemWindows="true"
|
||||||
app:auto_constraint_background_tint="true">
|
app:auto_constraint_background_tint="true">
|
||||||
|
|
||||||
<com.tungsten.fcllibrary.component.view.FCLEditText
|
<com.tungsten.fcllibrary.component.view.FCLEditText
|
||||||
|
|
Loading…
Reference in New Issue