aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/values
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-06-04 12:06:01 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-06-04 12:06:01 +0000
commite5d9f93e96a0876676a75e31ebea29e4071c580a (patch)
treededd62954c1ab39b5dceda0cc871e0700c0f2d60 /app/src/main/res/values
parentca957e890443452d2c543f567b53e94495dbf8e5 (diff)
downloadinfinity-for-reddit-e5d9f93e96a0876676a75e31ebea29e4071c580a.tar
infinity-for-reddit-e5d9f93e96a0876676a75e31ebea29e4071c580a.tar.gz
infinity-for-reddit-e5d9f93e96a0876676a75e31ebea29e4071c580a.tar.bz2
infinity-for-reddit-e5d9f93e96a0876676a75e31ebea29e4071c580a.tar.lz
infinity-for-reddit-e5d9f93e96a0876676a75e31ebea29e4071c580a.tar.xz
infinity-for-reddit-e5d9f93e96a0876676a75e31ebea29e4071c580a.tar.zst
infinity-for-reddit-e5d9f93e96a0876676a75e31ebea29e4071c580a.zip
Swipe up or down to finish ViewImgurMediaActivity. Using Hauler to do swipe up or down to finish ViewImageActivity, ViewGIFActivity and ViewVideoActivity. Fixed gifs downloaded as jpg.
Diffstat (limited to 'app/src/main/res/values')
-rw-r--r--app/src/main/res/values/styles.xml9
1 files changed, 6 insertions, 3 deletions
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml
index 5634d70e..a7e31f71 100644
--- a/app/src/main/res/values/styles.xml
+++ b/app/src/main/res/values/styles.xml
@@ -32,10 +32,13 @@
<item name="android:windowBackground">@android:color/transparent</item>
</style>
- <style name="AppTheme.ActionBar.Transparent" parent="AppTheme">
- <item name="android:windowBackground">@android:color/black</item>
+ <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:windowTranslucentNavigation">true</item>
+ <item name="android:windowBackground">@android:color/black</item>
</style>
<style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.DayNight.ActionBar" />