From ea8c4fbbfea18ccf696c67eec9871b6ddb9f65a0 Mon Sep 17 00:00:00 2001 From: fanhuitong <981964879@qq.com> Date: Fri, 15 Oct 2021 18:09:11 +0800 Subject: [PATCH] date:2021-10-15 18:08:09 --- app/build.gradle | 1 + app/src/main/res/values/styles.xml | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/app/build.gradle b/app/build.gradle index 42f23df..8a4651c 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -298,6 +298,7 @@ dependencies { implementation 'com.yanzhenjie:permission:2.0.3' //沉浸状态栏 implementation 'com.gitee.zackratos:UltimateBarX:0.7.1' + // implementation 'com.gyf.barlibrary:barlibrary:2.2.8' // 基础依赖包,必须要依赖 implementation 'com.gyf.immersionbar:immersionbar:3.0.0' diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 8c47132..6e94bbc 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -13,7 +13,13 @@ @color/colorPrimary @color/colorPrimaryDark @color/colorAccent + + ?attr/colorPrimary + + ?attr/colorPrimary + @color/colorPrimary + true