diff options
author | Alex Ning <chineseperson5@gmail.com> | 2019-09-27 04:43:06 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2019-09-27 04:43:06 +0000 |
commit | edf85c2bc3d0a7d983b93d888e540380529601ca (patch) | |
tree | bd9a4dd7ecb8a6d698abd4c59a51d79797547fef /app/src/main/res/layout | |
parent | 837e461451a877c581ea38e401863a266a1781ca (diff) | |
download | infinity-for-reddit-edf85c2bc3d0a7d983b93d888e540380529601ca.tar infinity-for-reddit-edf85c2bc3d0a7d983b93d888e540380529601ca.tar.gz infinity-for-reddit-edf85c2bc3d0a7d983b93d888e540380529601ca.tar.bz2 infinity-for-reddit-edf85c2bc3d0a7d983b93d888e540380529601ca.tar.lz infinity-for-reddit-edf85c2bc3d0a7d983b93d888e540380529601ca.tar.xz infinity-for-reddit-edf85c2bc3d0a7d983b93d888e540380529601ca.tar.zst infinity-for-reddit-edf85c2bc3d0a7d983b93d888e540380529601ca.zip |
Add a mic icon if the user is the submitter in comments. Add a mod icon if the user is a moderator. Tweak the vertical bar colors in comments in dark theme.
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/item_comment.xml | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/app/src/main/res/layout/item_comment.xml b/app/src/main/res/layout/item_comment.xml index 1cac0a70..dfdc3374 100644 --- a/app/src/main/res/layout/item_comment.xml +++ b/app/src/main/res/layout/item_comment.xml @@ -30,23 +30,33 @@ android:id="@+id/author_text_view_item_post_comment" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_marginEnd="16dp" android:textColor="@color/colorPrimaryDarkDayNightTheme" android:textSize="?attr/font_default" - app:layout_constraintTop_toTopOf="parent" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintEnd_toStartOf="@id/comment_time_text_view_item_post_comment" - app:layout_constraintHorizontal_bias="0" /> + app:layout_constraintTop_toTopOf="parent" /> + + <ImageView + android:id="@+id/author_type_image_view_item_comment" + android:layout_width="?attr/font_default" + android:layout_height="?attr/font_default" + android:layout_marginStart="4dp" + android:visibility="gone" + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintStart_toEndOf="@id/author_text_view_item_post_comment" /> <TextView android:id="@+id/comment_time_text_view_item_post_comment" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:layout_marginStart="4dp" android:textSize="?attr/font_default" - app:layout_constraintTop_toTopOf="parent" app:layout_constraintBottom_toBottomOf="parent" - app:layout_constraintEnd_toEndOf="parent" /> + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toEndOf="@id/author_type_image_view_item_comment" + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintHorizontal_bias="1" /> </androidx.constraintlayout.widget.ConstraintLayout> |