diff options
author | Alex Ning <chineseperson5@gmail.com> | 2018-09-21 15:35:57 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2018-09-21 15:35:57 +0000 |
commit | 88e4cf810fa78592c97f6ba7c8c501e75205a76b (patch) | |
tree | 69da20eea421631a23d3c271d4d11e774e7631bc /app/src/main/res/values/styles.xml | |
parent | 5c51450a8ebd9a1bbcf39377d639dca0c4994987 (diff) | |
download | infinity-for-reddit-88e4cf810fa78592c97f6ba7c8c501e75205a76b.tar infinity-for-reddit-88e4cf810fa78592c97f6ba7c8c501e75205a76b.tar.gz infinity-for-reddit-88e4cf810fa78592c97f6ba7c8c501e75205a76b.tar.bz2 infinity-for-reddit-88e4cf810fa78592c97f6ba7c8c501e75205a76b.tar.lz infinity-for-reddit-88e4cf810fa78592c97f6ba7c8c501e75205a76b.tar.xz infinity-for-reddit-88e4cf810fa78592c97f6ba7c8c501e75205a76b.tar.zst infinity-for-reddit-88e4cf810fa78592c97f6ba7c8c501e75205a76b.zip |
Click the subreddit icon or the subreddit name to view the subreddit's details in PostFragment. Make the status bar in ViewSubredditDetailActivity translucent. Prepare to view the user's details in ViewUserDetailActivity. Minor bugs fixed.
Diffstat (limited to 'app/src/main/res/values/styles.xml')
-rw-r--r-- | app/src/main/res/values/styles.xml | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index abb0cb8a..b22e23e3 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -9,15 +9,19 @@ </style> <style name="AppTheme.NoActionBar"> - <item name="android:windowContentOverlay">@null</item> <item name="windowActionBar">false</item> <item name="windowNoTitle">true</item> + <item name="android:statusBarColor">@android:color/transparent</item> + </style> + + <style name="AppTheme.NoActionBarWithTranslucentStatusBar" parent="AppTheme.NoActionBar"> + <item name="android:windowTranslucentStatus">true</item> </style> <style name="AppTheme.ActionBar.Transparent" parent="AppTheme"> - <item name="android:windowContentOverlay">@null</item> - <item name="windowActionBarOverlay">true</item> - <item name="colorPrimary">@android:color/transparent</item> + <item name="colorPrimary">@color/transparentActionBarColor</item> + <item name="android:windowTranslucentStatus">true</item> + <item name="android:windowTranslucentNavigation">true</item> </style> <style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" /> |