diff options
author | Alex Ning <chineseperson5@gmail.com> | 2021-07-14 14:37:16 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2021-07-14 14:37:16 +0000 |
commit | a904282c33fcbd10e78cfc88a6788dee3f4159cb (patch) | |
tree | 1b8f91bd337f0f6b1c03c28ebc6e4998aac6ce7d /app/src/main/res/layout | |
parent | 9d87277ad89fdb90682723ebc1a05e9540e7493b (diff) | |
download | infinity-for-reddit-a904282c33fcbd10e78cfc88a6788dee3f4159cb.tar infinity-for-reddit-a904282c33fcbd10e78cfc88a6788dee3f4159cb.tar.gz infinity-for-reddit-a904282c33fcbd10e78cfc88a6788dee3f4159cb.tar.bz2 infinity-for-reddit-a904282c33fcbd10e78cfc88a6788dee3f4159cb.tar.lz infinity-for-reddit-a904282c33fcbd10e78cfc88a6788dee3f4159cb.tar.xz infinity-for-reddit-a904282c33fcbd10e78cfc88a6788dee3f4159cb.tar.zst infinity-for-reddit-a904282c33fcbd10e78cfc88a6788dee3f4159cb.zip |
Choose whether receiving post reply notifications or not in PostVideoActivity.
Diffstat (limited to '')
-rw-r--r-- | app/src/main/res/layout/activity_post_video.xml | 39 |
1 files changed, 38 insertions, 1 deletions
diff --git a/app/src/main/res/layout/activity_post_video.xml b/app/src/main/res/layout/activity_post_video.xml index c50c8be1..4e54d3a5 100644 --- a/app/src/main/res/layout/activity_post_video.xml +++ b/app/src/main/res/layout/activity_post_video.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_video_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_video_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_video_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_video_activity" + android:layout_width="match_parent" + android:layout_height="1dp" /> + <EditText android:id="@+id/post_title_edit_text_post_video_activity" android:layout_width="match_parent" @@ -146,7 +183,7 @@ android:fontFamily="?attr/title_font_family" /> <View - android:id="@+id/divider_3_post_video_activity" + android:id="@+id/divider_4_post_video_activity" android:layout_width="match_parent" android:layout_height="1dp" /> |