aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2023-09-11 23:15:52 +0000
committerDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2023-09-11 23:15:52 +0000
commite01574d0785e0376f83d588e45d38cb02e71d5a9 (patch)
tree8e05b92f2a018cb8787a4dbabdd9bb4b0f32850b /app/src/main/res
parentf7c97610c71df199380472141e5c58bc135427d8 (diff)
downloadinfinity-for-reddit-e01574d0785e0376f83d588e45d38cb02e71d5a9.tar
infinity-for-reddit-e01574d0785e0376f83d588e45d38cb02e71d5a9.tar.gz
infinity-for-reddit-e01574d0785e0376f83d588e45d38cb02e71d5a9.tar.bz2
infinity-for-reddit-e01574d0785e0376f83d588e45d38cb02e71d5a9.tar.lz
infinity-for-reddit-e01574d0785e0376f83d588e45d38cb02e71d5a9.tar.xz
infinity-for-reddit-e01574d0785e0376f83d588e45d38cb02e71d5a9.tar.zst
infinity-for-reddit-e01574d0785e0376f83d588e45d38cb02e71d5a9.zip
Continue adding Card Layout 3.
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/item_post_card_3_with_preview.xml74
1 files changed, 37 insertions, 37 deletions
diff --git a/app/src/main/res/layout/item_post_card_3_with_preview.xml b/app/src/main/res/layout/item_post_card_3_with_preview.xml
index 24568bb7..6d82a7a5 100644
--- a/app/src/main/res/layout/item_post_card_3_with_preview.xml
+++ b/app/src/main/res/layout/item_post_card_3_with_preview.xml
@@ -18,19 +18,19 @@
android:orientation="vertical">
<FrameLayout
- android:id="@+id/image_wrapper_relative_layout_item_post_with_preview"
+ android:id="@+id/image_wrapper_relative_layout_item_post_card_3_with_preview"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:visibility="gone">
<ml.docilealligator.infinityforreddit.customviews.AspectRatioGifImageView
- android:id="@+id/image_view_item_post_with_preview"
+ android:id="@+id/image_view_item_post_card_3_with_preview"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:adjustViewBounds="true" />
<ImageView
- android:id="@+id/video_or_gif_indicator_image_view_item_post_with_preview"
+ android:id="@+id/video_or_gif_indicator_image_view_item_post_card_3_with_preview"
android:layout_width="36dp"
android:layout_height="36dp"
android:layout_margin="16dp"
@@ -39,13 +39,13 @@
android:visibility="gone" />
<ProgressBar
- android:id="@+id/progress_bar_item_post_with_preview"
+ android:id="@+id/progress_bar_item_post_card_3_with_preview"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center" />
<TextView
- android:id="@+id/load_image_error_text_view_item_post_with_preview"
+ android:id="@+id/load_image_error_text_view_item_post_card_3_with_preview"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:drawableTop="@drawable/ic_error_outline_black_24dp"
@@ -59,14 +59,14 @@
</FrameLayout>
<ImageView
- android:id="@+id/image_view_no_preview_gallery_item_post_with_preview"
+ android:id="@+id/image_view_no_preview_gallery_item_post_card_3_with_preview"
android:layout_width="match_parent"
android:layout_height="150dp"
android:scaleType="center"
android:visibility="gone" />
<TextView
- android:id="@+id/link_text_view_item_post_with_preview"
+ android:id="@+id/link_text_view_item_post_card_3_with_preview"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
@@ -82,7 +82,7 @@
android:padding="16dp">
<ml.docilealligator.infinityforreddit.customviews.AspectRatioGifImageView
- android:id="@+id/icon_gif_image_view_item_post_with_preview"
+ android:id="@+id/icon_gif_image_view_item_post_card_3_with_preview"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_gravity="center"
@@ -91,7 +91,7 @@
app:layout_constraintTop_toTopOf="parent"/>
<TextView
- android:id="@+id/subreddit_name_text_view_item_post_with_preview"
+ android:id="@+id/subreddit_name_text_view_item_post_card_3_with_preview"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
@@ -99,15 +99,15 @@
android:layout_marginEnd="8dp"
android:textSize="?attr/font_default"
android:fontFamily="?attr/font_family"
- app:layout_constraintBottom_toTopOf="@id/user_text_view_item_post_with_preview"
- app:layout_constraintStart_toEndOf="@id/icon_gif_image_view_item_post_with_preview"
- app:layout_constraintEnd_toStartOf="@id/stickied_post_image_view_item_post_with_preview"
+ app:layout_constraintBottom_toTopOf="@id/user_text_view_item_post_card_3_with_preview"
+ app:layout_constraintStart_toEndOf="@id/icon_gif_image_view_item_post_card_3_with_preview"
+ app:layout_constraintEnd_toStartOf="@id/stickied_post_image_view_item_post_card_3_with_preview"
app:layout_constraintTop_toTopOf="parent"
app:layout_constrainedWidth="true"
app:layout_constraintHorizontal_bias="0"/>
<TextView
- android:id="@+id/user_text_view_item_post_with_preview"
+ android:id="@+id/user_text_view_item_post_card_3_with_preview"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
@@ -115,14 +115,14 @@
android:textSize="?attr/font_default"
android:fontFamily="?attr/font_family"
app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintStart_toEndOf="@+id/icon_gif_image_view_item_post_with_preview"
- app:layout_constraintEnd_toStartOf="@id/stickied_post_image_view_item_post_with_preview"
- app:layout_constraintTop_toBottomOf="@+id/subreddit_name_text_view_item_post_with_preview"
+ app:layout_constraintStart_toEndOf="@+id/icon_gif_image_view_item_post_card_3_with_preview"
+ app:layout_constraintEnd_toStartOf="@id/stickied_post_image_view_item_post_card_3_with_preview"
+ app:layout_constraintTop_toBottomOf="@+id/subreddit_name_text_view_item_post_card_3_with_preview"
app:layout_constraintHorizontal_bias="0"
app:layout_constrainedWidth="true" />
<ImageView
- android:id="@+id/stickied_post_image_view_item_post_with_preview"
+ android:id="@+id/stickied_post_image_view_item_post_card_3_with_preview"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_marginEnd="8dp"
@@ -133,7 +133,7 @@
tools:visibility="visible" />
<TextView
- android:id="@+id/post_time_text_view_item_post_with_preview"
+ android:id="@+id/post_time_text_view_item_post_card_3_with_preview"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:gravity="end"
@@ -154,7 +154,7 @@
</androidx.constraintlayout.widget.ConstraintLayout>
<TextView
- android:id="@+id/title_text_view_item_post_with_preview"
+ android:id="@+id/title_text_view_item_post_card_3_with_preview"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingStart="16dp"
@@ -162,7 +162,7 @@
android:textSize="?attr/title_font_18"
android:fontFamily="?attr/title_font_family" />
- <com.nex3z.flowlayout.FlowLayout
+ <!--<com.nex3z.flowlayout.FlowLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="16dp"
@@ -172,7 +172,7 @@
android:visibility="gone">
<com.libRG.CustomTextView
- android:id="@+id/type_text_view_item_post_with_preview"
+ android:id="@+id/type_text_view_item_post_card_3_with_preview"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="4dp"
@@ -183,7 +183,7 @@
app:lib_setShape="rectangle" />
<com.libRG.CustomTextView
- android:id="@+id/spoiler_custom_text_view_item_post_with_preview"
+ android:id="@+id/spoiler_custom_text_view_item_post_card_3_with_preview"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
@@ -197,7 +197,7 @@
app:lib_setShape="rectangle" />
<com.libRG.CustomTextView
- android:id="@+id/nsfw_text_view_item_post_with_preview"
+ android:id="@+id/nsfw_text_view_item_post_card_3_with_preview"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="4dp"
@@ -210,7 +210,7 @@
app:lib_setShape="rectangle" />
<com.libRG.CustomTextView
- android:id="@+id/flair_custom_text_view_item_post_with_preview"
+ android:id="@+id/flair_custom_text_view_item_post_card_3_with_preview"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
@@ -223,7 +223,7 @@
app:lib_setShape="rectangle" />
<com.libRG.CustomTextView
- android:id="@+id/awards_text_view_item_post_with_preview"
+ android:id="@+id/awards_text_view_item_post_card_3_with_preview"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="4dp"
@@ -235,30 +235,30 @@
app:lib_setShape="rectangle" />
<ImageView
- android:id="@+id/archived_image_view_item_post_with_preview"
+ android:id="@+id/archived_image_view_item_post_card_3_with_preview"
android:layout_width="24dp"
android:layout_height="24dp"
android:src="@drawable/ic_archive_outline"
android:visibility="gone" />
<ImageView
- android:id="@+id/locked_image_view_item_post_with_preview"
+ android:id="@+id/locked_image_view_item_post_card_3_with_preview"
android:layout_width="24dp"
android:layout_height="24dp"
android:src="@drawable/ic_outline_lock_24dp"
android:visibility="gone" />
<ImageView
- android:id="@+id/crosspost_image_view_item_post_with_preview"
+ android:id="@+id/crosspost_image_view_item_post_card_3_with_preview"
android:layout_width="24dp"
android:layout_height="24dp"
android:src="@drawable/crosspost"
android:visibility="gone" />
- </com.nex3z.flowlayout.FlowLayout>
+ </com.nex3z.flowlayout.FlowLayout>-->
<androidx.constraintlayout.widget.ConstraintLayout
- android:id="@+id/bottom_constraint_layout_item_post_with_preview"
+ android:id="@+id/bottom_constraint_layout_item_post_card_3_with_preview"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="8dp">
@@ -274,7 +274,7 @@
<com.google.android.material.button.MaterialButton
style="?attr/materialButtonOutlinedStyle"
- android:id="@+id/upvote_button_item_post_with_preview"
+ android:id="@+id/upvote_button_item_post_card_3_with_preview"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:paddingStart="8dp"
@@ -290,7 +290,7 @@
<com.google.android.material.button.MaterialButton
style="?attr/materialButtonOutlinedStyle"
- android:id="@+id/downvote_button_item_post_with_preview"
+ android:id="@+id/downvote_button_item_post_card_3_with_preview"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:paddingStart="8dp"
@@ -304,7 +304,7 @@
</com.google.android.material.button.MaterialButtonToggleGroup>
<com.google.android.material.button.MaterialButton
- android:id="@+id/save_button_item_post_with_preview"
+ android:id="@+id/save_button_item_post_card_3_with_preview"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:strokeWidth="0dp"
@@ -315,7 +315,7 @@
style="?attr/materialIconButtonOutlinedStyle" />
<com.google.android.material.button.MaterialButton
- android:id="@+id/share_button_item_post_with_preview"
+ android:id="@+id/share_button_item_post_card_3_with_preview"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:strokeWidth="0dp"
@@ -323,11 +323,11 @@
app:iconSize="24dp"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintStart_toEndOf="@id/save_button_item_post_with_preview"
+ app:layout_constraintStart_toEndOf="@id/save_button_item_post_card_3_with_preview"
style="?attr/materialIconButtonOutlinedStyle" />
<com.google.android.material.button.MaterialButton
- android:id="@+id/comments_count_button_item_post_with_preview"
+ android:id="@+id/comments_count_button_item_post_card_3_with_preview"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingStart="8dp"
@@ -341,7 +341,7 @@
app:iconSize="24dp"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintStart_toEndOf="@id/share_button_item_post_with_preview"
+ app:layout_constraintStart_toEndOf="@id/share_button_item_post_card_3_with_preview"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="1"
style="?attr/materialButtonOutlinedStyle" />