aboutsummaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2021-02-21 15:08:58 +0000
committerAlex Ning <chineseperson5@gmail.com>2021-02-21 15:08:58 +0000
commitd2d8d2fcef37f1099dd11353553357f534300fbd (patch)
treef1a301f0dfe5089b3329b7c7703a942d9b72082f /app/src/main
parent2ebdc3f15939efa791d91ca5875a4acbef19b6f8 (diff)
downloadinfinity-for-reddit-d2d8d2fcef37f1099dd11353553357f534300fbd.tar
infinity-for-reddit-d2d8d2fcef37f1099dd11353553357f534300fbd.tar.gz
infinity-for-reddit-d2d8d2fcef37f1099dd11353553357f534300fbd.tar.bz2
infinity-for-reddit-d2d8d2fcef37f1099dd11353553357f534300fbd.tar.lz
infinity-for-reddit-d2d8d2fcef37f1099dd11353553357f534300fbd.tar.xz
infinity-for-reddit-d2d8d2fcef37f1099dd11353553357f534300fbd.tar.zst
infinity-for-reddit-d2d8d2fcef37f1099dd11353553357f534300fbd.zip
Continue adding Card Layout 2.
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/res/layout/item_post_card_2_with_preview.xml20
1 files changed, 9 insertions, 11 deletions
diff --git a/app/src/main/res/layout/item_post_card_2_with_preview.xml b/app/src/main/res/layout/item_post_card_2_with_preview.xml
index f603c0d3..fa123b90 100644
--- a/app/src/main/res/layout/item_post_card_2_with_preview.xml
+++ b/app/src/main/res/layout/item_post_card_2_with_preview.xml
@@ -98,6 +98,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="16dp"
+ app:flRowVerticalGravity="center"
app:flChildSpacing="16dp"
app:flChildSpacingForLastRow="align"
app:flRowSpacing="8dp">
@@ -187,18 +188,15 @@
android:src="@drawable/crosspost"
android:visibility="gone" />
- </com.nex3z.flowlayout.FlowLayout>
+ <TextView
+ android:id="@+id/link_text_view_item_post_card_2_with_preview"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textSize="?attr/font_12"
+ android:fontFamily="?attr/font_family"
+ android:visibility="gone" />
- <TextView
- android:id="@+id/link_text_view_item_post_card_2_with_preview"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginBottom="16dp"
- android:paddingStart="16dp"
- android:paddingEnd="16dp"
- android:textSize="?attr/font_12"
- android:fontFamily="?attr/font_family"
- android:visibility="gone" />
+ </com.nex3z.flowlayout.FlowLayout>
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"