aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2021-07-14 14:31:54 +0000
committerAlex Ning <chineseperson5@gmail.com>2021-07-14 14:31:54 +0000
commit9d87277ad89fdb90682723ebc1a05e9540e7493b (patch)
tree366a22226dd1cafb6fa8133359de697695744062 /app/src/main/res
parentd31d348788677288b5e334a4e2b33aa775497ae6 (diff)
downloadinfinity-for-reddit-9d87277ad89fdb90682723ebc1a05e9540e7493b.tar
infinity-for-reddit-9d87277ad89fdb90682723ebc1a05e9540e7493b.tar.gz
infinity-for-reddit-9d87277ad89fdb90682723ebc1a05e9540e7493b.tar.bz2
infinity-for-reddit-9d87277ad89fdb90682723ebc1a05e9540e7493b.tar.lz
infinity-for-reddit-9d87277ad89fdb90682723ebc1a05e9540e7493b.tar.xz
infinity-for-reddit-9d87277ad89fdb90682723ebc1a05e9540e7493b.tar.zst
infinity-for-reddit-9d87277ad89fdb90682723ebc1a05e9540e7493b.zip
Choose whether receiving post reply notifications or not in PostImageActivity.
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/activity_post_image.xml39
1 files changed, 38 insertions, 1 deletions
diff --git a/app/src/main/res/layout/activity_post_image.xml b/app/src/main/res/layout/activity_post_image.xml
index cacfd04c..e8ec15e1 100644
--- a/app/src/main/res/layout/activity_post_image.xml
+++ b/app/src/main/res/layout/activity_post_image.xml
@@ -132,6 +132,43 @@
android:layout_width="match_parent"
android:layout_height="1dp" />
+ <LinearLayout
+ android:id="@+id/receive_post_reply_notifications_linear_layout_post_image_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_post_image_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_post_image_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_post_image_activity"
+ android:layout_width="match_parent"
+ android:layout_height="1dp" />
+
<EditText
android:id="@+id/post_title_edit_text_post_image_activity"
android:layout_width="match_parent"
@@ -146,7 +183,7 @@
android:fontFamily="?attr/title_font_family" />
<View
- android:id="@+id/divider_3_post_image_activity"
+ android:id="@+id/divider_4_post_image_activity"
android:layout_width="match_parent"
android:layout_height="1dp" />