aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/values/styles.xml
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-07-15 03:51:29 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-07-15 03:51:29 +0000
commit2d69170f4f6bd54efc472462d47f10988942bcba (patch)
tree7d5b4f09aa0fb8ae738dae9e16b8cf727a6d6614 /app/src/main/res/values/styles.xml
parenta9ba807cf42632b1744b5af5b9e1081575fecae5 (diff)
downloadinfinity-for-reddit-2d69170f4f6bd54efc472462d47f10988942bcba.tar
infinity-for-reddit-2d69170f4f6bd54efc472462d47f10988942bcba.tar.gz
infinity-for-reddit-2d69170f4f6bd54efc472462d47f10988942bcba.tar.bz2
infinity-for-reddit-2d69170f4f6bd54efc472462d47f10988942bcba.tar.lz
infinity-for-reddit-2d69170f4f6bd54efc472462d47f10988942bcba.tar.xz
infinity-for-reddit-2d69170f4f6bd54efc472462d47f10988942bcba.tar.zst
infinity-for-reddit-2d69170f4f6bd54efc472462d47f10988942bcba.zip
Add an option to ignore nav bar in ViewVideoActivity and ViewImgurVideoFragment. Use Hauler to do drag up or down to finish Activity in ViewVideoActivity and ViewImgurMediaActivity.
Diffstat (limited to 'app/src/main/res/values/styles.xml')
-rw-r--r--app/src/main/res/values/styles.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml
index c7db48b6..ec6ebc0d 100644
--- a/app/src/main/res/values/styles.xml
+++ b/app/src/main/res/values/styles.xml
@@ -47,6 +47,16 @@
<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>