Merge branch 'master' into dev_robouiadapter_1062_221117_1.6.2
# Conflicts: # OCH/mogo-och-bus-passenger/src/main/res/layout/bus_p_route_fragment.xml # OCH/mogo-och-taxi-passenger/src/main/java/com/mogo/och/taxi/passenger/ui/video/VideoActivity.kt # OCH/mogo-och-taxi-passenger/src/main/res/layout/taxi_p_passenger_check_panel.xml # OCH/mogo-och-taxi/src/main/res/layout/taxi_being_order.xml # OCH/mogo-och-taxi/src/main/res/layout/taxi_navi_view.xml # app/src/main/java/com/mogo/launcher/MogoApplication.java # core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/setting/DebugSettingView.kt # core/function-impl/mogo-core-function-hmi/src/main/res/layout/view_auto_pilot_check.xml # core/function-impl/mogo-core-function-hmi/src/main/res/values-xhdpi-2560x1440/color.xml # gradle.properties
This commit is contained in:
@@ -10,6 +10,7 @@ class SceneConstant {
|
||||
|
||||
//core业务module
|
||||
const val M_ADAS_IMPL = "M_ADAS_IMPL-"
|
||||
const val M_BINDING = "M_BINDING-"
|
||||
const val M_CORDER = "M_CORDER-"
|
||||
const val M_CHAT = "M_CHAT-"
|
||||
const val M_DEVA = "M_DEVA-"
|
||||
|
||||
@@ -414,6 +414,16 @@ public final class BarUtils {
|
||||
return statusBarView;
|
||||
}
|
||||
|
||||
public static void hideStatusBarAndSticky(@NonNull Window window){
|
||||
final ViewGroup decorView = (ViewGroup) window.getDecorView();
|
||||
final int uiOptions = View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY
|
||||
| View.SYSTEM_UI_FLAG_LAYOUT_STABLE
|
||||
| View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION
|
||||
| View.SYSTEM_UI_FLAG_HIDE_NAVIGATION
|
||||
| View.SYSTEM_UI_FLAG_FULLSCREEN;
|
||||
decorView.setSystemUiVisibility(decorView.getSystemUiVisibility() | uiOptions);
|
||||
}
|
||||
|
||||
public static void transparentStatusBar(@NonNull final Activity activity) {
|
||||
transparentStatusBar(activity.getWindow());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user