From 45f67457fa6bf49fdf2648e1dc3a3802beac41b4 Mon Sep 17 00:00:00 2001 From: Alex Ning <chineseperson5@gmail.com> Date: Thu, 27 Dec 2018 11:29:02 +0800 Subject: 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. --- app/src/main/res/values-v28/styles.xml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 app/src/main/res/values-v28/styles.xml (limited to 'app/src/main/res') 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> -- cgit v1.2.3