diff options
author | Alex Ning <chineseperson5@gmail.com> | 2021-07-16 00:56:47 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2021-07-16 00:56:47 +0000 |
commit | 25d8d901ade3d990310a1abfa676238fe6689f2b (patch) | |
tree | 0ee1cee7b483809f3a754772337b42bd1c623bd3 /app/src/main/java/ml/docilealligator/infinityforreddit | |
parent | a610be7d16316a17d4c6910027d135ceda09f2ed (diff) | |
download | infinity-for-reddit-25d8d901ade3d990310a1abfa676238fe6689f2b.tar infinity-for-reddit-25d8d901ade3d990310a1abfa676238fe6689f2b.tar.gz infinity-for-reddit-25d8d901ade3d990310a1abfa676238fe6689f2b.tar.bz2 infinity-for-reddit-25d8d901ade3d990310a1abfa676238fe6689f2b.tar.lz infinity-for-reddit-25d8d901ade3d990310a1abfa676238fe6689f2b.tar.xz infinity-for-reddit-25d8d901ade3d990310a1abfa676238fe6689f2b.tar.zst infinity-for-reddit-25d8d901ade3d990310a1abfa676238fe6689f2b.zip |
Small changes in RedditGallerySubmissionRecyclerViewAdapter's UI.
Diffstat (limited to 'app/src/main/java/ml/docilealligator/infinityforreddit')
-rw-r--r-- | app/src/main/java/ml/docilealligator/infinityforreddit/adapters/RedditGallerySubmissionRecyclerViewAdapter.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/RedditGallerySubmissionRecyclerViewAdapter.java b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/RedditGallerySubmissionRecyclerViewAdapter.java index b81f235b..9184523e 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/RedditGallerySubmissionRecyclerViewAdapter.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/RedditGallerySubmissionRecyclerViewAdapter.java @@ -155,8 +155,9 @@ public class RedditGallerySubmissionRecyclerViewAdapter extends RecyclerView.Ada public AddImageViewHolder(@NonNull View itemView) { super(itemView); - itemView.setBackgroundTintList(ColorStateList.valueOf(customThemeWrapper.getColorPrimaryLightTheme())); - ((FloatingActionButton) itemView).setImageTintList(ColorStateList.valueOf(customThemeWrapper.getFABIconColor())); + FloatingActionButton fab = itemView.findViewById(R.id.fab_item_gallery_submission_add_image); + fab.setBackgroundTintList(ColorStateList.valueOf(customThemeWrapper.getColorPrimaryLightTheme())); + fab.setImageTintList(ColorStateList.valueOf(customThemeWrapper.getFABIconColor())); itemView.setOnClickListener(view -> itemClickListener.onAddImageClicked()); } |