File tree Expand file tree Collapse file tree 3 files changed +11
-17
lines changed Expand file tree Collapse file tree 3 files changed +11
-17
lines changed Original file line number Diff line number Diff line change 3232#### [ 点我查看版本说明] ( https://github.com/gyf-dev/ImmersionBar/wiki )
3333
3434## 下载demo
35- #### [ 点我下载immersionBar-3.0.0.apk] ( https://github.com/gyf-dev/ImmersionBar/blob/master/apk/immersionbar-3.0.0.apk )
36-
37- ## 关于使用AndroidX支持库
38- - 如果你的项目中使用了AndroidX支持库,请在你的gradle.properties加入如下配置,如果已经配置了,请忽略
39- ``` groovy
40- android.useAndroidX=true
41- android.enableJetifier=true
42- ```
35+ #### [ 点我下载immersionBar-3.1.1.apk] ( https://github.com/gyf-dev/ImmersionBar/blob/master/apk/immersionbar-3.1.1.apk )
4336
4437## 关于全面屏与刘海
4538#### 关于全面屏
4639 在manifest加入如下配置,四选其一,或者都写
47-
48- ① 在manifest的Application节点下加入
49- ```xml
50- <meta-data
51- android:name="android.max_aspect"
52- android:value="2.4" />
53- ```
40+
41+ ① 升级targetSdkVersion为25以上版本
42+
5443 ② 在manifest的Application节点中加入
5544 ``` xml
5645 android:resizeableActivity="true"
5948 ``` xml
6049 android:maxAspectRatio="2.4"
6150 ```
62- ④ 升级targetSdkVersion为25以上版本
63-
51+ ④ 在manifest的Application节点下加入
52+ ``` xml
53+ <meta-data
54+ android : name =" android.max_aspect"
55+ android : value =" 2.4" />
56+ ```
57+
6458#### 关于刘海屏
6559 在manifest的Application节点下加入,vivo和oppo没有找到相关配置信息
6660 ``` xml
You can’t perform that action at this time.
0 commit comments