diff options
author | Alex Ning <chineseperson5@gmail.com> | 2019-07-17 01:31:49 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2019-07-17 01:31:49 +0000 |
commit | ebf542161e94cf6c9c1691b8681717a18afd42c2 (patch) | |
tree | 475daae5efe9b1ead47916dcf567bf6743774a0c /app/src/main/res/layout/activity_post_link.xml | |
parent | 116ce0bb24159d89d50296454214231bbd795de7 (diff) | |
download | infinity-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_link.xml')
-rw-r--r-- | app/src/main/res/layout/activity_post_link.xml | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/app/src/main/res/layout/activity_post_link.xml b/app/src/main/res/layout/activity_post_link.xml index 2d57c57b..bc24d8c5 100644 --- a/app/src/main/res/layout/activity_post_link.xml +++ b/app/src/main/res/layout/activity_post_link.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_link_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_link_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_link_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_link_activity" android:layout_width="match_parent" |