r>
-<?xml version="1.0" encoding="utf-8"?>
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:clickable="true"
- android:id="@+id/tips_rootview"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
-
-</RelativeLayout>
@@ -6,4 +6,19 @@ |
||
| 6 | 6 |
<item name="android:windowDrawsSystemBarBackgrounds">true</item> |
| 7 | 7 |
<item name="android:statusBarColor">@android:color/transparent</item> |
| 8 | 8 |
</style> |
| 9 |
+ |
|
| 10 |
+ <style name="AppThemeTranslucent" parent="@style/Theme.AppCompat.NoActionBar"> |
|
| 11 |
+ <item name="android:windowIsTranslucent">true</item> |
|
| 12 |
+ <item name="android:windowBackground">@color/transparent</item> |
|
| 13 |
+ <!--V21 处理沉浸式--> |
|
| 14 |
+ <item name="android:windowNoTitle">true</item> |
|
| 15 |
+ <item name="android:windowContentOverlay">@null</item> |
|
| 16 |
+ <item name="android:windowOverscan">true</item> |
|
| 17 |
+ <item name="android:windowDrawsSystemBarBackgrounds">true</item> |
|
| 18 |
+ <item name="android:statusBarColor">#00000000</item> |
|
| 19 |
+ <item name="android:listDivider">@drawable/recycler_list_divider</item> |
|
| 20 |
+ <item name="android:colorBackgroundCacheHint">@null</item> |
|
| 21 |
+ <item name="android:windowAnimationStyle">@android:style/Animation</item> |
|
| 22 |
+ </style> |
|
| 23 |
+ |
|
| 9 | 24 |
</resources> |
@@ -35,10 +35,6 @@ |
||
| 35 | 35 |
<item name="android:backgroundDimEnabled">false</item> |
| 36 | 36 |
</style> |
| 37 | 37 |
|
| 38 |
- <style name="ThemeTips" parent="@android:style/Theme.Translucent.NoTitleBar"> |
|
| 39 |
- <item name="android:windowAnimationStyle">@style/Animation</item> |
|
| 40 |
- </style> |
|
| 41 |
- |
|
| 42 | 38 |
<style name="Animation"> |
| 43 | 39 |
<item name="android:activityOpenEnterAnimation">@null</item> |
| 44 | 40 |
<item name="android:activityOpenExitAnimation">@null</item> |
@@ -53,4 +49,14 @@ |
||
| 53 | 49 |
<item name="android:taskToBackEnterAnimation">@null</item> |
| 54 | 50 |
<item name="android:taskToBackExitAnimation">@null</item> |
| 55 | 51 |
</style> |
| 52 |
+ |
|
| 53 |
+ <style name="AppThemeTranslucent" parent="@style/Theme.AppCompat.NoActionBar"> |
|
| 54 |
+ <item name="android:windowIsTranslucent">true</item> |
|
| 55 |
+ <item name="android:windowBackground">@color/transparent</item> |
|
| 56 |
+ <item name="selectableItemBackground">@null</item> |
|
| 57 |
+ <item name="android:listDivider">@drawable/recycler_list_divider</item> |
|
| 58 |
+ <item name="android:colorBackgroundCacheHint">@null</item> |
|
| 59 |
+ <item name="android:windowAnimationStyle">@android:style/Animation</item> |
|
| 60 |
+ </style> |
|
| 61 |
+ |
|
| 56 | 62 |
</resources> |
@@ -22,7 +22,7 @@ org.gradle.parallel=true |
||
| 22 | 22 |
android.useDeprecatedNdk=true |
| 23 | 23 |
org.gradle.configureondemand=true |
| 24 | 24 |
|
| 25 |
-COMPILE_SDK_VERSION=24 |
|
| 25 |
+COMPILE_SDK_VERSION=23 |
|
| 26 | 26 |
BUILD_TOOLS_VERSION=25.0.2 |
| 27 | 27 |
MIN_SDK_VERSION=15 |
| 28 | 28 |
TARGET_SDK_VERSION=21 |
@@ -14,7 +14,7 @@ android {
|
||
| 14 | 14 |
|
| 15 | 15 |
dependencies {
|
| 16 | 16 |
compile fileTree(include: ['*.jar'], dir: 'libs') |
| 17 |
- compile 'com.android.support:design:latest.integration' |
|
| 18 |
- compile 'com.android.support:support-v4:latest.integration' |
|
| 19 |
- compile 'com.android.support:recyclerview-v7:latest.integration' |
|
| 17 |
+ compile 'com.android.support:design:24.2.1' |
|
| 18 |
+ compile 'com.android.support:support-v4:24.2.1' |
|
| 19 |
+ compile 'com.android.support:recyclerview-v7:24.2.1' |
|
| 20 | 20 |
} |