aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorDocile-Alligator <chineseperson5@gmail.com>2020-06-17 14:26:20 +0000
committerGitHub <noreply@github.com>2020-06-17 14:26:20 +0000
commit5a6d18c0e4d30d3feb6005878779671d08430768 (patch)
treeef8527229fbf6e28b790cc324f576f2a1248275f /app/src/main/res
parent0df0482d458d91d3e1dba3b493285299f91fcc32 (diff)
parentbe9f0c1fd184460c39ba40153a6a449899a8718a (diff)
downloadinfinity-for-reddit-5a6d18c0e4d30d3feb6005878779671d08430768.tar
infinity-for-reddit-5a6d18c0e4d30d3feb6005878779671d08430768.tar.gz
infinity-for-reddit-5a6d18c0e4d30d3feb6005878779671d08430768.tar.bz2
infinity-for-reddit-5a6d18c0e4d30d3feb6005878779671d08430768.tar.lz
infinity-for-reddit-5a6d18c0e4d30d3feb6005878779671d08430768.tar.xz
infinity-for-reddit-5a6d18c0e4d30d3feb6005878779671d08430768.tar.zst
infinity-for-reddit-5a6d18c0e4d30d3feb6005878779671d08430768.zip
Merge pull request #127 from OHermesJunior/slide-activities
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>