aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/values-v28
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2018-12-27 03:29:02 +0000
committerAlex Ning <chineseperson5@gmail.com>2018-12-27 03:29:02 +0000
commit45f67457fa6bf49fdf2648e1dc3a3802beac41b4 (patch)
tree30ecbc7539372376cdc73ccdea44ad214f7ef17b /app/src/main/res/values-v28
parent60b659e651b4d8e7d9ca26b17ba8990497022ed1 (diff)
downloadinfinity-for-reddit-45f67457fa6bf49fdf2648e1dc3a3802beac41b4.tar
infinity-for-reddit-45f67457fa6bf49fdf2648e1dc3a3802beac41b4.tar.gz
infinity-for-reddit-45f67457fa6bf49fdf2648e1dc3a3802beac41b4.tar.bz2
infinity-for-reddit-45f67457fa6bf49fdf2648e1dc3a3802beac41b4.tar.lz
infinity-for-reddit-45f67457fa6bf49fdf2648e1dc3a3802beac41b4.tar.xz
infinity-for-reddit-45f67457fa6bf49fdf2648e1dc3a3802beac41b4.tar.zst
infinity-for-reddit-45f67457fa6bf49fdf2648e1dc3a3802beac41b4.zip
Use Android Paging Library to load and display best posts. Loading best posts in a specific subreddit is broken. Fixed a bug which is PostViewModel's data becoming null after the app restart. Add notch support for Android Pie.
Diffstat (limited to 'app/src/main/res/values-v28')
-rw-r--r--app/src/main/res/values-v28/styles.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/src/main/res/values-v28/styles.xml b/app/src/main/res/values-v28/styles.xml
new file mode 100644
index 00000000..7b88cdf3
--- /dev/null
+++ b/app/src/main/res/values-v28/styles.xml
@@ -0,0 +1,12 @@
+<resources>
+
+ <!-- Base application theme. -->
+ <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
+ <!-- Customize your theme here. -->
+ <item name="colorPrimary">@color/colorPrimary</item>
+ <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
+ <item name="colorAccent">@color/colorAccent</item>
+ <item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>
+ </style>
+
+</resources>