diff options
author | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2023-05-13 12:46:27 +0000 |
---|---|---|
committer | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2023-05-13 12:46:27 +0000 |
commit | f8cfe2fe8c5b08fbdd13756429f3cb9745e8fbb9 (patch) | |
tree | 41209980ed0c256afceabc1e52790767321c536c /app/src | |
parent | 1bcbbbecc932c0572b376ab47b52ebe3850b90d3 (diff) | |
download | infinity-for-reddit-f8cfe2fe8c5b08fbdd13756429f3cb9745e8fbb9.tar infinity-for-reddit-f8cfe2fe8c5b08fbdd13756429f3cb9745e8fbb9.tar.gz infinity-for-reddit-f8cfe2fe8c5b08fbdd13756429f3cb9745e8fbb9.tar.bz2 infinity-for-reddit-f8cfe2fe8c5b08fbdd13756429f3cb9745e8fbb9.tar.lz infinity-for-reddit-f8cfe2fe8c5b08fbdd13756429f3cb9745e8fbb9.tar.xz infinity-for-reddit-f8cfe2fe8c5b08fbdd13756429f3cb9745e8fbb9.tar.zst infinity-for-reddit-f8cfe2fe8c5b08fbdd13756429f3cb9745e8fbb9.zip |
Fix https://github.com/Docile-Alligator/Infinity-For-Reddit/issues/1448
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/main/java/ml/docilealligator/infinityforreddit/adapters/CommentsRecyclerViewAdapter.java | 2 | ||||
-rw-r--r-- | app/src/main/res/layout/item_comment.xml | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/CommentsRecyclerViewAdapter.java b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/CommentsRecyclerViewAdapter.java index 41239401..b3d91772 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/CommentsRecyclerViewAdapter.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/CommentsRecyclerViewAdapter.java @@ -1269,6 +1269,7 @@ public class CommentsRecyclerViewAdapter extends RecyclerView.Adapter<RecyclerVi commentTimeTextView.setTypeface(mActivity.typeface); authorFlairTextView.setTypeface(mActivity.typeface); topScoreTextView.setTypeface(mActivity.typeface); + editedTextView.setTypeface(mActivity.typeface); awardsTextView.setTypeface(mActivity.typeface); scoreTextView.setTypeface(mActivity.typeface); expandButton.setTypeface(mActivity.typeface); @@ -1302,6 +1303,7 @@ public class CommentsRecyclerViewAdapter extends RecyclerView.Adapter<RecyclerVi commentTimeTextView.setTextColor(mSecondaryTextColor); authorFlairTextView.setTextColor(mAuthorFlairTextColor); topScoreTextView.setTextColor(mSecondaryTextColor); + editedTextView.setTextColor(mSecondaryTextColor); awardsTextView.setTextColor(mSecondaryTextColor); commentDivider.setBackgroundColor(mDividerColor); upvoteButton.setColorFilter(mCommentIconAndInfoColor, PorterDuff.Mode.SRC_IN); diff --git a/app/src/main/res/layout/item_comment.xml b/app/src/main/res/layout/item_comment.xml index 9889ca5a..67bedc1e 100644 --- a/app/src/main/res/layout/item_comment.xml +++ b/app/src/main/res/layout/item_comment.xml @@ -44,6 +44,7 @@ android:drawablePadding="4dp" android:fontFamily="?attr/font_family" android:textSize="?attr/font_default" + android:maxLines="1" app:layout_constrainedWidth="true" app:layout_constraintBottom_toTopOf="@id/author_flair_text_view_item_post_comment" app:layout_constraintStart_toEndOf="@id/author_icon_image_view_item_post_comment" @@ -60,6 +61,7 @@ android:fontFamily="?attr/font_family" android:textSize="?attr/font_12" android:visibility="gone" + android:maxLines="2" app:layout_constrainedWidth="true" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintStart_toEndOf="@id/author_icon_image_view_item_post_comment" @@ -110,7 +112,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" app:barrierDirection="start" - app:constraint_referenced_ids="top_score_text_view_item_post_comment" /> + app:constraint_referenced_ids="top_score_text_view_item_post_comment,edited_text_view_item_post_comment" /> <androidx.constraintlayout.widget.Barrier android:id="@+id/barrier4" |