aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/values
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
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 '')
-rw-r--r--app/src/main/res/values/strings.xml2
-rw-r--r--app/src/main/res/values/styles.xml10
2 files changed, 12 insertions, 0 deletions
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 24d7639d..fd9182f4 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -365,6 +365,8 @@
<string name="settings_mute_video_title">Mute Videos</string>
<string name="settings_mute_nsfw_video_title">Mute NSFW Videos</string>
<string name="settings_automatically_try_redgifs_title">Automatically Try Accessing Redgifs if Videos on Gfycat are Removed.</string>
+ <string name="settings_video_player_ignore_nav_bar_title">Ignore Navigation Bar in Video Player</string>
+ <string name="settings_video_player_ignore_nav_bar_summary">Prevent the Video Controller Having Extra Margin</string>
<string name="settings_confirm_to_exit">Confirm to Exit</string>
<string name="settings_show_top_level_comments_first_title">Show Top-level Comments First</string>
<string name="settings_show_comment_divider_title">Show Comment Divider</string>
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>