aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/drawable/ic_upvote_ratio.xml9
-rw-r--r--app/src/main/res/layout/item_post_detail_gallery.xml10
-rw-r--r--app/src/main/res/layout/item_post_detail_image_and_gif_autoplay.xml10
-rw-r--r--app/src/main/res/layout/item_post_detail_link.xml10
-rw-r--r--app/src/main/res/layout/item_post_detail_no_preview.xml10
-rw-r--r--app/src/main/res/layout/item_post_detail_text.xml10
-rw-r--r--app/src/main/res/layout/item_post_detail_video_and_gif_preview.xml10
-rw-r--r--app/src/main/res/layout/item_post_detail_video_autoplay.xml10
-rw-r--r--app/src/main/res/values/strings.xml4
9 files changed, 76 insertions, 7 deletions
diff --git a/app/src/main/res/drawable/ic_upvote_ratio.xml b/app/src/main/res/drawable/ic_upvote_ratio.xml
new file mode 100644
index 00000000..d696673b
--- /dev/null
+++ b/app/src/main/res/drawable/ic_upvote_ratio.xml
@@ -0,0 +1,9 @@
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:width="18dp"
+ android:height="18dp"
+ android:viewportWidth="24"
+ android:viewportHeight="24">
+ <path
+ android:pathData="M12,2a10,10 0,1 0,10 10A10,10 0,0 0,12 2zM18,11.8a0.9,0.9 0,0 1,-0.1 0.5l-2.1,4.9a1.34,1.34 0,0 1,-1.3 0.8L9,18a2,2 0,0 1,-2 -2v-5a1.28,1.28 0,0 1,0.4 -1L12,5l0.69,0.69a1.08,1.08 0,0 1,0.3 0.7v0.2L12.41,10L17,10a1,1 0,0 1,1 1z"
+ android:fillColor="#000000"/>
+</vector>
diff --git a/app/src/main/res/layout/item_post_detail_gallery.xml b/app/src/main/res/layout/item_post_detail_gallery.xml
index a1c3145e..2b3a0e99 100644
--- a/app/src/main/res/layout/item_post_detail_gallery.xml
+++ b/app/src/main/res/layout/item_post_detail_gallery.xml
@@ -109,7 +109,8 @@
android:padding="16dp"
app:flChildSpacing="16dp"
app:flChildSpacingForLastRow="align"
- app:flRowSpacing="8dp">
+ app:flRowSpacing="8dp"
+ app:flRowVerticalGravity="center">
<com.libRG.CustomTextView
android:id="@+id/type_text_view_item_post_detail_gallery"
@@ -163,6 +164,13 @@
app:lib_setRoundedView="true"
app:lib_setShape="rectangle" />
+ <TextView
+ android:id="@+id/upvote_ratio_text_view_item_post_detail_gallery"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textSize="?attr/font_12"
+ android:fontFamily="?attr/font_family" />
+
<ImageView
android:id="@+id/archived_image_view_item_post_detail_gallery"
android:layout_width="20dp"
diff --git a/app/src/main/res/layout/item_post_detail_image_and_gif_autoplay.xml b/app/src/main/res/layout/item_post_detail_image_and_gif_autoplay.xml
index 9bc41c08..567269d5 100644
--- a/app/src/main/res/layout/item_post_detail_image_and_gif_autoplay.xml
+++ b/app/src/main/res/layout/item_post_detail_image_and_gif_autoplay.xml
@@ -109,7 +109,8 @@
android:padding="16dp"
app:flChildSpacing="16dp"
app:flChildSpacingForLastRow="align"
- app:flRowSpacing="8dp">
+ app:flRowSpacing="8dp"
+ app:flRowVerticalGravity="center">
<com.libRG.CustomTextView
android:id="@+id/type_text_view_item_post_detail_image_and_gif_autoplay"
@@ -163,6 +164,13 @@
app:lib_setRoundedView="true"
app:lib_setShape="rectangle" />
+ <TextView
+ android:id="@+id/upvote_ratio_text_view_item_post_detail_image_and_gif_autoplay"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textSize="?attr/font_12"
+ android:fontFamily="?attr/font_family" />
+
<ImageView
android:id="@+id/archived_image_view_item_post_detail_image_and_gif_autoplay"
android:layout_width="20dp"
diff --git a/app/src/main/res/layout/item_post_detail_link.xml b/app/src/main/res/layout/item_post_detail_link.xml
index 12281d4b..105b34eb 100644
--- a/app/src/main/res/layout/item_post_detail_link.xml
+++ b/app/src/main/res/layout/item_post_detail_link.xml
@@ -109,7 +109,8 @@
android:padding="16dp"
app:flChildSpacing="16dp"
app:flChildSpacingForLastRow="align"
- app:flRowSpacing="8dp">
+ app:flRowSpacing="8dp"
+ app:flRowVerticalGravity="center">
<com.libRG.CustomTextView
android:id="@+id/type_text_view_item_post_detail_link"
@@ -163,6 +164,13 @@
app:lib_setRoundedView="true"
app:lib_setShape="rectangle" />
+ <TextView
+ android:id="@+id/upvote_ratio_text_view_item_post_detail_link"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textSize="?attr/font_12"
+ android:fontFamily="?attr/font_family" />
+
<ImageView
android:id="@+id/archived_image_view_item_post_detail_link"
android:layout_width="20dp"
diff --git a/app/src/main/res/layout/item_post_detail_no_preview.xml b/app/src/main/res/layout/item_post_detail_no_preview.xml
index e9870f3a..63d6e17e 100644
--- a/app/src/main/res/layout/item_post_detail_no_preview.xml
+++ b/app/src/main/res/layout/item_post_detail_no_preview.xml
@@ -118,7 +118,8 @@
android:padding="16dp"
app:flChildSpacing="16dp"
app:flChildSpacingForLastRow="align"
- app:flRowSpacing="8dp">
+ app:flRowSpacing="8dp"
+ app:flRowVerticalGravity="center">
<com.libRG.CustomTextView
android:id="@+id/type_text_view_item_post_detail_no_preview_link"
@@ -172,6 +173,13 @@
app:lib_setRoundedView="true"
app:lib_setShape="rectangle" />
+ <TextView
+ android:id="@+id/upvote_ratio_text_view_item_post_detail_no_preview_link"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textSize="?attr/font_12"
+ android:fontFamily="?attr/font_family" />
+
<ImageView
android:id="@+id/archived_image_view_item_post_detail_no_preview_link"
android:layout_width="20dp"
diff --git a/app/src/main/res/layout/item_post_detail_text.xml b/app/src/main/res/layout/item_post_detail_text.xml
index 6eb3e735..d71c4670 100644
--- a/app/src/main/res/layout/item_post_detail_text.xml
+++ b/app/src/main/res/layout/item_post_detail_text.xml
@@ -118,7 +118,8 @@
android:padding="16dp"
app:flChildSpacing="16dp"
app:flChildSpacingForLastRow="align"
- app:flRowSpacing="8dp">
+ app:flRowSpacing="8dp"
+ app:flRowVerticalGravity="center">
<com.libRG.CustomTextView
android:id="@+id/type_text_view_item_post_detail_text"
@@ -172,6 +173,13 @@
app:lib_setRoundedView="true"
app:lib_setShape="rectangle" />
+ <TextView
+ android:id="@+id/upvote_ratio_text_view_item_post_detail_text"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textSize="?attr/font_12"
+ android:fontFamily="?attr/font_family" />
+
<ImageView
android:id="@+id/archived_image_view_item_post_detail_text"
android:layout_width="20dp"
diff --git a/app/src/main/res/layout/item_post_detail_video_and_gif_preview.xml b/app/src/main/res/layout/item_post_detail_video_and_gif_preview.xml
index efb79466..ed2a28d9 100644
--- a/app/src/main/res/layout/item_post_detail_video_and_gif_preview.xml
+++ b/app/src/main/res/layout/item_post_detail_video_and_gif_preview.xml
@@ -109,7 +109,8 @@
android:padding="16dp"
app:flChildSpacing="16dp"
app:flChildSpacingForLastRow="align"
- app:flRowSpacing="8dp">
+ app:flRowSpacing="8dp"
+ app:flRowVerticalGravity="center">
<com.libRG.CustomTextView
android:id="@+id/type_text_view_item_post_detail_video_and_gif_preview"
@@ -162,6 +163,13 @@
app:lib_setRoundedView="true"
app:lib_setShape="rectangle" />
+ <TextView
+ android:id="@+id/upvote_ratio_text_view_item_post_detail_video_and_gif_preview"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textSize="?attr/font_12"
+ android:fontFamily="?attr/font_family" />
+
<ImageView
android:id="@+id/archived_image_view_item_post_detail_video_and_gif_preview"
android:layout_width="20dp"
diff --git a/app/src/main/res/layout/item_post_detail_video_autoplay.xml b/app/src/main/res/layout/item_post_detail_video_autoplay.xml
index 150f54d6..5202299d 100644
--- a/app/src/main/res/layout/item_post_detail_video_autoplay.xml
+++ b/app/src/main/res/layout/item_post_detail_video_autoplay.xml
@@ -109,7 +109,8 @@
android:padding="16dp"
app:flChildSpacing="16dp"
app:flChildSpacingForLastRow="align"
- app:flRowSpacing="8dp">
+ app:flRowSpacing="8dp"
+ app:flRowVerticalGravity="center">
<com.libRG.CustomTextView
android:id="@+id/type_text_view_item_post_detail_video_autoplay"
@@ -163,6 +164,13 @@
app:lib_setRoundedView="true"
app:lib_setShape="rectangle" />
+ <TextView
+ android:id="@+id/upvote_ratio_text_view_item_post_detail_video_autoplay"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textSize="?attr/font_12"
+ android:fontFamily="?attr/font_family" />
+
<ImageView
android:id="@+id/archived_image_view_item_post_detail_video_autoplay"
android:layout_width="20dp"
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 1825ef3e..5278ec55 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -758,6 +758,8 @@
<string name="theme_item_locked_icon_tint_detail">Applied to: Locked icon</string>
<string name="theme_item_crosspost_icon_tint">Crosspost Icon Color</string>
<string name="theme_item_crosspost_icon_tint_detail">Applied to: Crosspost icon</string>
+ <string name="theme_item_upvote_ratio_icon_tint">Upvote Ratio Icon Color</string>
+ <string name="theme_item_upvote_ratio_icon_tint_detail">Applied to: Upvote ratio icon</string>
<string name="theme_item_stickied_post_icon_tint">Stickied Post Icon Color</string>
<string name="theme_item_stickied_post_icon_tint_detail">Applied to: Stickied post icon</string>
<string name="theme_item_no_preview_post_type_icon_tint">No-preview Post Type Icon Color</string>
@@ -776,6 +778,8 @@
<string name="theme_item_submitter_color_detail">Applied to: Submitter in comments</string>
<string name="theme_item_moderator_color">Moderator</string>
<string name="theme_item_moderator_color_detail">Applied to: Moderator in comments</string>
+ <string name="theme_item_current_user_color">Current User</string>
+ <string name="theme_item_current_user_color_detail">Applied to: Current user in comments</string>
<string name="theme_item_single_comment_thread_background_color">Single Comment Thread Background Color</string>
<string name="theme_item_single_comment_thread_background_color_detail">Applied to: Single Comment</string>
<string name="theme_item_unread_message_background_color">Unread Message Background Color</string>