diff options
author | Alex Ning <chineseperson5@gmail.com> | 2019-08-22 09:38:12 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2019-08-22 09:38:12 +0000 |
commit | 7b754328fc59cd590d56625f1519c19122971920 (patch) | |
tree | d413962f3ca0b57cd364a7f38609237b728d7427 /app/src/main | |
parent | 23c76a86cb0ccb71776c13bd619155d35797a26e (diff) | |
download | infinity-for-reddit-7b754328fc59cd590d56625f1519c19122971920.tar infinity-for-reddit-7b754328fc59cd590d56625f1519c19122971920.tar.gz infinity-for-reddit-7b754328fc59cd590d56625f1519c19122971920.tar.bz2 infinity-for-reddit-7b754328fc59cd590d56625f1519c19122971920.tar.lz infinity-for-reddit-7b754328fc59cd590d56625f1519c19122971920.tar.xz infinity-for-reddit-7b754328fc59cd590d56625f1519c19122971920.tar.zst infinity-for-reddit-7b754328fc59cd590d56625f1519c19122971920.zip |
Fixed UI in dark theme.
Diffstat (limited to 'app/src/main')
-rw-r--r-- | app/src/main/java/ml/docilealligator/infinityforreddit/MessageRecyclerViewAdapter.java | 2 | ||||
-rw-r--r-- | app/src/main/res/values-night/colors.xml | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/MessageRecyclerViewAdapter.java b/app/src/main/java/ml/docilealligator/infinityforreddit/MessageRecyclerViewAdapter.java index 3807a413..9ade4b03 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/MessageRecyclerViewAdapter.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/MessageRecyclerViewAdapter.java @@ -154,7 +154,7 @@ class MessageRecyclerViewAdapter extends PagedListAdapter<Message, RecyclerView. public void onViewRecycled(@NonNull RecyclerView.ViewHolder holder) { super.onViewRecycled(holder); if(holder instanceof DataViewHolder) { - ((DataViewHolder) holder).itemView.setBackgroundColor(mResources.getColor(android.R.color.white)); + ((DataViewHolder) holder).itemView.setBackgroundColor(mResources.getColor(R.color.backgroundColor)); ((DataViewHolder) holder).titleTextView.setVisibility(View.VISIBLE); ((DataViewHolder) holder).authorTextView.setTextColor(mResources.getColor(R.color.primaryTextColor)); } diff --git a/app/src/main/res/values-night/colors.xml b/app/src/main/res/values-night/colors.xml index 758b8537..418fd02d 100644 --- a/app/src/main/res/values-night/colors.xml +++ b/app/src/main/res/values-night/colors.xml @@ -45,4 +45,8 @@ <color name="navBarColor">@color/backgroundColor</color> <color name="cardViewBackgroundColor">#242424</color> + + <color name="singleCommentThreadBackgroundColor">#123E77</color> + + <color name="unreadMessageBackgroundColor">#123E77</color> </resources> |