aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/layout')
-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
7 files changed, 63 insertions, 7 deletions
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"