diff options
Diffstat (limited to 'app/src/main/res/layout/item_post.xml')
-rw-r--r-- | app/src/main/res/layout/item_post.xml | 44 |
1 files changed, 43 insertions, 1 deletions
diff --git a/app/src/main/res/layout/item_post.xml b/app/src/main/res/layout/item_post.xml index fbaf0d87..e6e41b81 100644 --- a/app/src/main/res/layout/item_post.xml +++ b/app/src/main/res/layout/item_post.xml @@ -142,10 +142,53 @@ </RelativeLayout> + <LinearLayout + android:id="@+id/spoiler_flair_linear_layout_item_post" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginBottom="16dp" + android:visibility="gone"> + + <com.libRG.CustomTextView + android:id="@+id/spoiler_custom_text_view_item_post" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center" + android:layout_marginStart="16dp" + android:text="@string/spoiler" + android:textSize="12sp" + android:textColor="@color/primaryTextColor" + android:padding="4dp" + android:background="@color/textColorPrimaryDark" + android:visibility="gone" + app:lib_setRadius="3dp" + app:lib_setRoundedBorderColor="@color/textColorPrimaryDark" + app:lib_setRoundedView="true" + app:lib_setShape="rectangle" /> + + <com.libRG.CustomTextView + android:id="@+id/flair_custom_text_view_item_post" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center" + android:layout_marginStart="16dp" + android:textSize="12sp" + android:textColor="@color/primaryTextColor" + android:padding="4dp" + android:background="@color/textColorPrimaryDark" + android:visibility="gone" + app:lib_setRadius="3dp" + app:lib_setRoundedBorderColor="@color/textColorPrimaryDark" + app:lib_setRoundedView="true" + app:lib_setShape="rectangle" /> + + </LinearLayout> + <TextView android:id="@+id/link_text_view_item_post" android:layout_width="match_parent" android:layout_height="wrap_content" + android:layout_marginBottom="16dp" android:paddingStart="16dp" android:paddingEnd="16dp" android:textSize="12sp" @@ -155,7 +198,6 @@ android:id="@+id/image_view_wrapper_item_post" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_marginTop="16dp" android:visibility="gone"> <ProgressBar |