From 0ccb78cfb85fbba31ee16a57b13752747585b9a9 Mon Sep 17 00:00:00 2001
From: wjc <1243177876@qq.com>
Date: 星期一, 15 九月 2025 10:15:12 +0800
Subject: [PATCH] Merge branch 'master' into google
---
app/src/main/java/com/hdl/photovoltaic/base/CustomBaseActivity.java | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/app/src/main/java/com/hdl/photovoltaic/base/CustomBaseActivity.java b/app/src/main/java/com/hdl/photovoltaic/base/CustomBaseActivity.java
index 75c2f28..b468d44 100644
--- a/app/src/main/java/com/hdl/photovoltaic/base/CustomBaseActivity.java
+++ b/app/src/main/java/com/hdl/photovoltaic/base/CustomBaseActivity.java
@@ -4,6 +4,8 @@
import android.content.Context;
import android.os.Bundle;
import android.view.View;
+import android.view.WindowManager;
+import android.widget.FrameLayout;
import androidx.annotation.Nullable;
@@ -21,14 +23,13 @@
@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
-
-
}
// 灏哠tatusBar璁剧疆涓洪�忔槑
public void setStatusBarTranslucent() {
StatusBarUtil.setTranslucentForImageViewInFragment(this, 0, null);
StatusBarUtil.setDarkMode(this);//鐘舵�佹爮瀛椾綋鏄櫧鑹�
+
// StatusBarUtil.setLightMode(this);//鐘舵�佹爮瀛椾綋鏄粦鑹�
}
@@ -48,7 +49,7 @@
// View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY//鍙湁褰撹缃簡SYSTEM_UI_FLAG_FULLSCREEN | SYSTEM_UI_FLAG_HIDE_NAVIGATION 鏃惰捣浣滅敤銆傚鏋滄病鏈夎缃紝浠绘剰鐨刅iew鐩镐簰鍔ㄤ綔閮介��鍑篠YSTEM_UI_FLAG_FULLSCREEN | SYSTEM_UI_FLAG_HIDE_NAVIGATION妯″紡銆�
- getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR);
+ // getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR);
// getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN);
}
--
Gitblit v1.8.0