diff options
author | Alex Ning <chineseperson5@gmail.com> | 2020-07-14 14:45:21 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2020-07-14 14:45:21 +0000 |
commit | 67cb832c46895193c85a2b9d1b5c95873588ad26 (patch) | |
tree | 1210bfe670205550f5f26db034aecbf7f1edef1a /app/src/main/res/values/styles.xml | |
parent | 19c2d0b9794b1b045a2015769567e6ddf6a5fbfe (diff) | |
download | infinity-for-reddit-67cb832c46895193c85a2b9d1b5c95873588ad26.tar infinity-for-reddit-67cb832c46895193c85a2b9d1b5c95873588ad26.tar.gz infinity-for-reddit-67cb832c46895193c85a2b9d1b5c95873588ad26.tar.bz2 infinity-for-reddit-67cb832c46895193c85a2b9d1b5c95873588ad26.tar.lz infinity-for-reddit-67cb832c46895193c85a2b9d1b5c95873588ad26.tar.xz infinity-for-reddit-67cb832c46895193c85a2b9d1b5c95873588ad26.tar.zst infinity-for-reddit-67cb832c46895193c85a2b9d1b5c95873588ad26.zip |
Replace Hauler with Slidr to avoid weird behaviour in SubsamplingScaleImageView.
Diffstat (limited to 'app/src/main/res/values/styles.xml')
-rw-r--r-- | app/src/main/res/values/styles.xml | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index de788275..c7db48b6 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -32,6 +32,13 @@ <item name="android:windowBackground">@android:color/transparent</item> </style> + <style name="AppTheme.SlidableWithActionBar"> + <item name="android:windowIsTranslucent">true</item> + <item name="android:windowTranslucentStatus">true</item> + <item name="android:windowBackground">@android:color/black</item> + <item name="android:fontFamily">?attr/font_family</item> + </style> + <style name="AppTheme.SlidableWithTranslucentWindow" parent="AppTheme.Slidable"> <item name="android:windowTranslucentStatus">true</item> </style> @@ -40,16 +47,6 @@ <item name="android:statusBarColor">@android:color/transparent</item> </style> - <style name="AppTheme.Draggable" parent="AppTheme"> - <item name="android:colorBackgroundCacheHint">@null</item> - <item name="android:windowContentOverlay">@null</item> - <item name="android:windowIsFloating">false</item> - <item name="android:windowIsTranslucent">true</item> - <item name="android:windowTranslucentStatus">true</item> - <item name="android:windowBackground">@android:color/black</item> - <item name="android:fontFamily">?attr/font_family</item> - </style> - <style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.DayNight.ActionBar"> <item name="android:fontFamily">?attr/font_family</item> </style> |