aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2021-07-14 14:43:13 +0000
committerAlex Ning <chineseperson5@gmail.com>2021-07-14 14:43:13 +0000
commit04624a1f13e5714b385f964147f7c6e8a8fdfe25 (patch)
tree038768772ae681d9ea1094fa690d7364364f7ba8 /app/src/main/res
parenta904282c33fcbd10e78cfc88a6788dee3f4159cb (diff)
downloadinfinity-for-reddit-04624a1f13e5714b385f964147f7c6e8a8fdfe25.tar
infinity-for-reddit-04624a1f13e5714b385f964147f7c6e8a8fdfe25.tar.gz
infinity-for-reddit-04624a1f13e5714b385f964147f7c6e8a8fdfe25.tar.bz2
infinity-for-reddit-04624a1f13e5714b385f964147f7c6e8a8fdfe25.tar.lz
infinity-for-reddit-04624a1f13e5714b385f964147f7c6e8a8fdfe25.tar.xz
infinity-for-reddit-04624a1f13e5714b385f964147f7c6e8a8fdfe25.tar.zst
infinity-for-reddit-04624a1f13e5714b385f964147f7c6e8a8fdfe25.zip
Choose whether receiving post reply notifications or not in SubmitCrosspostActivity.
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/activity_submit_crosspost.xml39
1 files changed, 38 insertions, 1 deletions
diff --git a/app/src/main/res/layout/activity_submit_crosspost.xml b/app/src/main/res/layout/activity_submit_crosspost.xml
index ec5b1f42..e40cc0b2 100644
--- a/app/src/main/res/layout/activity_submit_crosspost.xml
+++ b/app/src/main/res/layout/activity_submit_crosspost.xml
@@ -132,6 +132,43 @@
android:layout_width="match_parent"
android:layout_height="1dp" />
+ <LinearLayout
+ android:id="@+id/receive_post_reply_notifications_linear_layout_submit_crosspost_activity"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:padding="8dp"
+ android:paddingBottom="8dp"
+ android:paddingStart="16dp"
+ android:paddingEnd="16dp"
+ android:clickable="true"
+ android:focusable="true"
+ android:background="?attr/selectableItemBackground">
+
+ <TextView
+ android:id="@+id/receive_post_reply_notifications_text_view_submit_crosspost_activity"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:layout_gravity="center_vertical"
+ android:layout_marginEnd="16dp"
+ android:text="@string/receive_post_reply_notifications"
+ android:textSize="?attr/font_default"
+ android:fontFamily="?attr/font_family" />
+
+ <com.google.android.material.switchmaterial.SwitchMaterial
+ android:id="@+id/receive_post_reply_notifications_switch_material_submit_crosspost_activity"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:checked="true" />
+
+ </LinearLayout>
+
+ <View
+ android:id="@+id/divider_3_submit_crosspost_activity"
+ android:layout_width="match_parent"
+ android:layout_height="1dp" />
+
<EditText
android:id="@+id/post_title_edit_text_submit_crosspost_activity"
android:layout_width="match_parent"
@@ -146,7 +183,7 @@
android:fontFamily="?attr/title_font_family" />
<View
- android:id="@+id/divider_3_submit_crosspost_activity"
+ android:id="@+id/divider_4_submit_crosspost_activity"
android:layout_width="match_parent"
android:layout_height="1dp" />