diff options
author | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2024-09-08 21:42:34 +0000 |
---|---|---|
committer | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2024-09-08 21:42:34 +0000 |
commit | 5c057b4d1504c3c0eb496bc09e69083212670dc7 (patch) | |
tree | 1b844a5bdb370398a95b993a543b648dd2036a4d /app/src/main/java | |
parent | 6bf18f679114cc167df76ff3b8f18e915ca4d2ff (diff) | |
download | infinity-for-reddit-5c057b4d1504c3c0eb496bc09e69083212670dc7.tar infinity-for-reddit-5c057b4d1504c3c0eb496bc09e69083212670dc7.tar.gz infinity-for-reddit-5c057b4d1504c3c0eb496bc09e69083212670dc7.tar.bz2 infinity-for-reddit-5c057b4d1504c3c0eb496bc09e69083212670dc7.tar.lz infinity-for-reddit-5c057b4d1504c3c0eb496bc09e69083212670dc7.tar.xz infinity-for-reddit-5c057b4d1504c3c0eb496bc09e69083212670dc7.tar.zst infinity-for-reddit-5c057b4d1504c3c0eb496bc09e69083212670dc7.zip |
Refine ViewPrivateMessagesActivity UI.
Diffstat (limited to '')
-rw-r--r-- | app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewPrivateMessagesActivity.java | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewPrivateMessagesActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewPrivateMessagesActivity.java index 98bda50b..331141be 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewPrivateMessagesActivity.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewPrivateMessagesActivity.java @@ -145,8 +145,8 @@ public class ViewPrivateMessagesActivity extends BaseActivity implements Activit getResources().getConfiguration().locale, privateMessage, accountName, mCustomThemeWrapper); mLinearLayoutManager = new LinearLayoutManagerBugFixed(this); mLinearLayoutManager.setStackFromEnd(true); - binding.recyclerViewViewPrivateMessages.setLayoutManager(mLinearLayoutManager); - binding.recyclerViewViewPrivateMessages.setAdapter(mAdapter); + binding.recyclerViewViewPrivateMessagesActivity.setLayoutManager(mLinearLayoutManager); + binding.recyclerViewViewPrivateMessagesActivity.setAdapter(mAdapter); goToBottom(); binding.sendImageViewViewPrivateMessagesActivity.setOnClickListener(view -> { if (!isSendingMessage) { @@ -233,7 +233,7 @@ public class ViewPrivateMessagesActivity extends BaseActivity implements Activit } public void delayTransition() { - TransitionManager.beginDelayedTransition(binding.recyclerViewViewPrivateMessages, new AutoTransition()); + TransitionManager.beginDelayedTransition(binding.recyclerViewViewPrivateMessagesActivity, new AutoTransition()); } private void goToBottom() { @@ -286,11 +286,10 @@ public class ViewPrivateMessagesActivity extends BaseActivity implements Activit binding.getRoot().setBackgroundColor(mCustomThemeWrapper.getBackgroundColor()); applyAppBarLayoutAndCollapsingToolbarLayoutAndToolbarTheme(binding.appbarLayoutViewPrivateMessagesActivity, null, binding.toolbarViewPrivateMessagesActivity); - binding.editTextDividerViewPrivateMessagesActivity.setBackgroundColor(mCustomThemeWrapper.getDividerColor()); + binding.cardViewViewPrivateMessagesActivity.setCardBackgroundColor(mCustomThemeWrapper.getFilledCardViewBackgroundColor()); binding.editTextViewPrivateMessagesActivity.setTextColor(mCustomThemeWrapper.getPrimaryTextColor()); mSecondaryTextColor = mCustomThemeWrapper.getSecondaryTextColor(); binding.editTextViewPrivateMessagesActivity.setHintTextColor(mSecondaryTextColor); - binding.editTextWrapperLinearLayoutViewPrivateMessagesActivity.setBackgroundColor(mCustomThemeWrapper.getBackgroundColor()); mSendMessageIconColor = mCustomThemeWrapper.getSendMessageIconColor(); binding.sendImageViewViewPrivateMessagesActivity.setColorFilter(mSendMessageIconColor, android.graphics.PorterDuff.Mode.SRC_IN); if (typeface != null) { |