diff options
author | Alex Ning <chineseperson5@gmail.com> | 2019-08-12 01:50:25 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2019-08-12 01:50:25 +0000 |
commit | 4ca9b065516a6f6799aab6842d419e9f22f8dfa0 (patch) | |
tree | 949cdc58d09aa1b3e5cc6d9ee2a75ce342feba87 /app/src/main/res | |
parent | 90c7c664053efe0f09c971ba5ee7a63b3a57b3c6 (diff) | |
download | infinity-for-reddit-4ca9b065516a6f6799aab6842d419e9f22f8dfa0.tar infinity-for-reddit-4ca9b065516a6f6799aab6842d419e9f22f8dfa0.tar.gz infinity-for-reddit-4ca9b065516a6f6799aab6842d419e9f22f8dfa0.tar.bz2 infinity-for-reddit-4ca9b065516a6f6799aab6842d419e9f22f8dfa0.tar.lz infinity-for-reddit-4ca9b065516a6f6799aab6842d419e9f22f8dfa0.tar.xz infinity-for-reddit-4ca9b065516a6f6799aab6842d419e9f22f8dfa0.tar.zst infinity-for-reddit-4ca9b065516a6f6799aab6842d419e9f22f8dfa0.zip |
Fixed UI in dark theme.
Diffstat (limited to '')
-rw-r--r-- | app/src/main/res/layout/activity_view_post_detail.xml | 1 | ||||
-rw-r--r-- | app/src/main/res/layout/item_comment.xml | 3 | ||||
-rw-r--r-- | app/src/main/res/layout/item_load_more_comments_placeholder.xml | 3 | ||||
-rw-r--r-- | app/src/main/res/layout/item_post_detail.xml | 3 | ||||
-rw-r--r-- | app/src/main/res/values-night/colors.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/values/colors.xml | 2 |
6 files changed, 11 insertions, 3 deletions
diff --git a/app/src/main/res/layout/activity_view_post_detail.xml b/app/src/main/res/layout/activity_view_post_detail.xml index 3a010dc3..9c4a811c 100644 --- a/app/src/main/res/layout/activity_view_post_detail.xml +++ b/app/src/main/res/layout/activity_view_post_detail.xml @@ -5,6 +5,7 @@ android:id="@+id/coordinator_layout_view_post_detail" android:layout_width="match_parent" android:layout_height="match_parent" + android:background="@color/cardViewBackgroundColor" tools:application=".ViewPostDetailActivity"> <com.google.android.material.appbar.AppBarLayout diff --git a/app/src/main/res/layout/item_comment.xml b/app/src/main/res/layout/item_comment.xml index 89db5a2f..973b4b44 100644 --- a/app/src/main/res/layout/item_comment.xml +++ b/app/src/main/res/layout/item_comment.xml @@ -2,7 +2,8 @@ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/linear_layout_item_comment" android:layout_width="match_parent" - android:layout_height="wrap_content"> + android:layout_height="wrap_content" + android:background="@color/cardViewBackgroundColor"> <View android:id="@+id/vertical_block_item_post_comment" diff --git a/app/src/main/res/layout/item_load_more_comments_placeholder.xml b/app/src/main/res/layout/item_load_more_comments_placeholder.xml index e9333e6e..9979a6fe 100644 --- a/app/src/main/res/layout/item_load_more_comments_placeholder.xml +++ b/app/src/main/res/layout/item_load_more_comments_placeholder.xml @@ -1,7 +1,8 @@ <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" - android:layout_height="wrap_content"> + android:layout_height="wrap_content" + android:background="@color/cardViewBackgroundColor"> <View android:id="@+id/vertical_block_item_load_more_comments" diff --git a/app/src/main/res/layout/item_post_detail.xml b/app/src/main/res/layout/item_post_detail.xml index 18cae54c..4b75b2c0 100644 --- a/app/src/main/res/layout/item_post_detail.xml +++ b/app/src/main/res/layout/item_post_detail.xml @@ -3,7 +3,8 @@ xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="wrap_content" - android:orientation="vertical"> + android:orientation="vertical" + android:background="@color/cardViewBackgroundColor"> <androidx.constraintlayout.widget.ConstraintLayout android:id="@+id/relative_layout_item_post_detail" diff --git a/app/src/main/res/values-night/colors.xml b/app/src/main/res/values-night/colors.xml index 590ba6ce..8d932a36 100644 --- a/app/src/main/res/values-night/colors.xml +++ b/app/src/main/res/values-night/colors.xml @@ -43,4 +43,6 @@ <color name="tabLayoutWithCollapsedCollapsingToolbarTabIndicator">@color/tabLayoutWithCollapsedCollapsingToolbarTextColor</color> <color name="navBarColor">@color/backgroundColor</color> + + <color name="cardViewBackgroundColor">#242424</color> </resources> diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index 8b9eb013..9d88ac4f 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -43,4 +43,6 @@ <color name="tabLayoutWithCollapsedCollapsingToolbarTabIndicator">@color/tabLayoutWithCollapsedCollapsingToolbarTextColor</color> <color name="navBarColor">#FFFFFF</color> + + <color name="cardViewBackgroundColor">#FFFFFF</color> </resources> |