version:3.5
fix: update:状态栏和导航栏样式修改
This commit is contained in:
@@ -16,8 +16,8 @@ android {
|
|||||||
applicationId "com.uiui.aios"
|
applicationId "com.uiui.aios"
|
||||||
minSdkVersion 24
|
minSdkVersion 24
|
||||||
targetSdkVersion 29
|
targetSdkVersion 29
|
||||||
versionCode 25
|
versionCode 26
|
||||||
versionName "3.4"
|
versionName "3.5"
|
||||||
|
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
|
|
||||||
|
|||||||
@@ -64,12 +64,12 @@ public abstract class BaseActivity extends AppCompatActivity implements Lifecycl
|
|||||||
UltimateBarX.statusBar(this)
|
UltimateBarX.statusBar(this)
|
||||||
.transparent()
|
.transparent()
|
||||||
.colorRes(R.color.colorPrimaryDark)
|
.colorRes(R.color.colorPrimaryDark)
|
||||||
.light(true)
|
// .light(true)
|
||||||
.apply();
|
.apply();
|
||||||
UltimateBarX.navigationBar(this)
|
UltimateBarX.navigationBar(this)
|
||||||
.transparent()
|
.transparent()
|
||||||
.colorRes(R.color.colorPrimaryDark)
|
.colorRes(R.color.colorPrimaryDark)
|
||||||
.light(true)
|
// .light(true)
|
||||||
.apply();
|
.apply();
|
||||||
setContentView(this.getLayoutId());
|
setContentView(this.getLayoutId());
|
||||||
initView();
|
initView();
|
||||||
|
|||||||
@@ -117,6 +117,7 @@
|
|||||||
app:layout_constraintTop_toTopOf="parent" />
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
android:textStyle="bold"
|
||||||
android:id="@+id/tv_name"
|
android:id="@+id/tv_name"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
|||||||
Reference in New Issue
Block a user