diff options
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/drawable/ic_mic_14dp.xml | 4 | ||||
-rw-r--r-- | app/src/main/res/drawable/ic_verified_user_14dp.xml | 4 | ||||
-rw-r--r-- | app/src/main/res/layout/item_comment.xml | 22 | ||||
-rw-r--r-- | app/src/main/res/values-night/colors.xml | 8 | ||||
-rw-r--r-- | app/src/main/res/values/colors.xml | 4 |
5 files changed, 36 insertions, 6 deletions
diff --git a/app/src/main/res/drawable/ic_mic_14dp.xml b/app/src/main/res/drawable/ic_mic_14dp.xml new file mode 100644 index 00000000..d4058a15 --- /dev/null +++ b/app/src/main/res/drawable/ic_mic_14dp.xml @@ -0,0 +1,4 @@ +<vector android:height="14dp" android:viewportHeight="24" + android:viewportWidth="24" android:width="14dp" xmlns:android="http://schemas.android.com/apk/res/android"> + <path android:fillColor="#FF000000" android:pathData="M12,14c1.66,0 2.99,-1.34 2.99,-3L15,5c0,-1.66 -1.34,-3 -3,-3S9,3.34 9,5v6c0,1.66 1.34,3 3,3zM17.3,11c0,3 -2.54,5.1 -5.3,5.1S6.7,14 6.7,11L5,11c0,3.41 2.72,6.23 6,6.72L11,21h2v-3.28c3.28,-0.48 6,-3.3 6,-6.72h-1.7z"/> +</vector> diff --git a/app/src/main/res/drawable/ic_verified_user_14dp.xml b/app/src/main/res/drawable/ic_verified_user_14dp.xml new file mode 100644 index 00000000..5a12bac0 --- /dev/null +++ b/app/src/main/res/drawable/ic_verified_user_14dp.xml @@ -0,0 +1,4 @@ +<vector android:height="14dp" android:viewportHeight="24" + android:viewportWidth="24" android:width="14dp" xmlns:android="http://schemas.android.com/apk/res/android"> + <path android:fillColor="#FF000000" android:pathData="M12,1L3,5v6c0,5.55 3.84,10.74 9,12 5.16,-1.26 9,-6.45 9,-12L21,5l-9,-4zM10,17l-4,-4 1.41,-1.41L10,14.17l6.59,-6.59L18,9l-8,8z"/> +</vector> 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> diff --git a/app/src/main/res/values-night/colors.xml b/app/src/main/res/values-night/colors.xml index ff7a6510..2049c23c 100644 --- a/app/src/main/res/values-night/colors.xml +++ b/app/src/main/res/values-night/colors.xml @@ -54,5 +54,13 @@ <color name="defaultTextColor">#B3FFFFFF</color> + <color name="commentVerticalBar1">#1565C0</color> + <color name="commentVerticalBar2">#C300B3</color> + <color name="commentVerticalBar3">#00B8DA</color> + <color name="commentVerticalBar4">#EDCA00</color> + <color name="commentVerticalBar5">#EE0219</color> + <color name="commentVerticalBar6">#00B925</color> + <color name="commentVerticalBar7">#EE4602</color> + <color name="greyTabBackgroundColor">#282828</color> </resources> diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index a3357db3..a08640f7 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -71,4 +71,8 @@ <color name="commentVerticalBar7">#EE4602</color> <color name="greyTabBackgroundColor">@color/colorPrimary</color> + + <color name="submitter">#EE8A02</color> + + <color name="moderator">#00BA81</color> </resources> |