aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/activity_post_image.xml
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2019-07-17 01:31:49 +0000
committerAlex Ning <chineseperson5@gmail.com>2019-07-17 01:31:49 +0000
commitebf542161e94cf6c9c1691b8681717a18afd42c2 (patch)
tree475daae5efe9b1ead47916dcf567bf6743774a0c /app/src/main/res/layout/activity_post_image.xml
parent116ce0bb24159d89d50296454214231bbd795de7 (diff)
downloadinfinity-for-reddit-ebf542161e94cf6c9c1691b8681717a18afd42c2.tar
infinity-for-reddit-ebf542161e94cf6c9c1691b8681717a18afd42c2.tar.gz
infinity-for-reddit-ebf542161e94cf6c9c1691b8681717a18afd42c2.tar.bz2
infinity-for-reddit-ebf542161e94cf6c9c1691b8681717a18afd42c2.tar.lz
infinity-for-reddit-ebf542161e94cf6c9c1691b8681717a18afd42c2.tar.xz
infinity-for-reddit-ebf542161e94cf6c9c1691b8681717a18afd42c2.tar.zst
infinity-for-reddit-ebf542161e94cf6c9c1691b8681717a18afd42c2.zip
Flair, spoiler and nsfw support for submitting posts.
Diffstat (limited to 'app/src/main/res/layout/activity_post_image.xml')
-rw-r--r--app/src/main/res/layout/activity_post_image.xml51
1 files changed, 51 insertions, 0 deletions
diff --git a/app/src/main/res/layout/activity_post_image.xml b/app/src/main/res/layout/activity_post_image.xml
index 60a6029e..ce345d58 100644
--- a/app/src/main/res/layout/activity_post_image.xml
+++ b/app/src/main/res/layout/activity_post_image.xml
@@ -59,6 +59,57 @@
android:layout_height="1dp"
android:background="@color/dividerColor" />
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content">
+
+ <com.libRG.CustomTextView
+ android:id="@+id/flair_custom_text_view_post_image_activity"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_margin="16dp"
+ android:padding="4dp"
+ android:text="@string/flair"
+ android:textColor="@color/primaryTextColor"
+ 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/spoiler_custom_text_view_post_image_activity"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_margin="16dp"
+ android:padding="4dp"
+ android:text="@string/spoiler"
+ android:textColor="@color/primaryTextColor"
+ app:lib_setRadius="3dp"
+ app:lib_setRoundedBorderColor="@color/textColorPrimaryDark"
+ app:lib_setRoundedView="true"
+ app:lib_setShape="rectangle" />
+
+ <com.libRG.CustomTextView
+ android:id="@+id/nsfw_custom_text_view_post_image_activity"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_margin="16dp"
+ android:padding="4dp"
+ android:text="@string/nsfw"
+ android:textColor="@color/primaryTextColor"
+ app:lib_setRadius="3dp"
+ app:lib_setRoundedBorderColor="@color/colorAccent"
+ app:lib_setRoundedView="true"
+ app:lib_setShape="rectangle" />
+
+ </LinearLayout>
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="1dp"
+ android:background="@color/dividerColor" />
+
<EditText
android:id="@+id/post_title_edit_text_post_image_activity"
android:layout_width="match_parent"