aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorHermes Junior <ohermesjunior@gmail.com>2020-06-17 14:11:18 +0000
committerOHermesJunior <ohermesjunior@gmail.com>2020-06-17 14:11:18 +0000
commitbe9f0c1fd184460c39ba40153a6a449899a8718a (patch)
treeef8527229fbf6e28b790cc324f576f2a1248275f /app/src/main/res
parent0df0482d458d91d3e1dba3b493285299f91fcc32 (diff)
downloadinfinity-for-reddit-be9f0c1fd184460c39ba40153a6a449899a8718a.tar
infinity-for-reddit-be9f0c1fd184460c39ba40153a6a449899a8718a.tar.gz
infinity-for-reddit-be9f0c1fd184460c39ba40153a6a449899a8718a.tar.bz2
infinity-for-reddit-be9f0c1fd184460c39ba40153a6a449899a8718a.tar.lz
infinity-for-reddit-be9f0c1fd184460c39ba40153a6a449899a8718a.tar.xz
infinity-for-reddit-be9f0c1fd184460c39ba40153a6a449899a8718a.tar.zst
infinity-for-reddit-be9f0c1fd184460c39ba40153a6a449899a8718a.zip
Allow sliding back on all activities.
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/values/styles.xml10
1 files changed, 9 insertions, 1 deletions
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml
index 43df2318..de788275 100644
--- a/app/src/main/res/values/styles.xml
+++ b/app/src/main/res/values/styles.xml
@@ -27,11 +27,19 @@
<item name="android:windowTranslucentStatus">true</item>
</style>
- <style name="AppTheme.NoActionBarWithTransparentBackground" parent="AppTheme.NoActionBar">
+ <style name="AppTheme.Slidable" parent="AppTheme.NoActionBar">
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowBackground">@android:color/transparent</item>
</style>
+ <style name="AppTheme.SlidableWithTranslucentWindow" parent="AppTheme.Slidable">
+ <item name="android:windowTranslucentStatus">true</item>
+ </style>
+
+ <style name="AppTheme.SlidableWithTransparentStatusBar" parent="AppTheme.Slidable">
+ <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>