aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2024-10-20 20:45:39 +0000
committerDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2024-10-20 20:45:39 +0000
commitb3eee45358ff61271f5eb1e05ec37df266f5103e (patch)
tree2970169a814c7b9b151ad57b50951ffb3708f904 /app/src/main/res/layout
parentc010cb0479bc6914aea7e6231fa86e60a9c237d0 (diff)
parent6da36366a2383d6da3d3375d6ebd9c7287687384 (diff)
downloadinfinity-for-reddit-b3eee45358ff61271f5eb1e05ec37df266f5103e.tar
infinity-for-reddit-b3eee45358ff61271f5eb1e05ec37df266f5103e.tar.gz
infinity-for-reddit-b3eee45358ff61271f5eb1e05ec37df266f5103e.tar.bz2
infinity-for-reddit-b3eee45358ff61271f5eb1e05ec37df266f5103e.tar.lz
infinity-for-reddit-b3eee45358ff61271f5eb1e05ec37df266f5103e.tar.xz
infinity-for-reddit-b3eee45358ff61271f5eb1e05ec37df266f5103e.tar.zst
infinity-for-reddit-b3eee45358ff61271f5eb1e05ec37df266f5103e.zip
Merge branch 'master' of github.com:Docile-Alligator/Infinity-For-Reddit
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/fragment_post_history.xml55
1 files changed, 55 insertions, 0 deletions
diff --git a/app/src/main/res/layout/fragment_post_history.xml b/app/src/main/res/layout/fragment_post_history.xml
index bd0d5ba3..2c3ae592 100644
--- a/app/src/main/res/layout/fragment_post_history.xml
+++ b/app/src/main/res/layout/fragment_post_history.xml
@@ -60,6 +60,61 @@
</LinearLayout>
<LinearLayout
+ android:id="@+id/read_posts_limit_linear_layout_post_history_fragment"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:background="?attr/selectableItemBackground"
+ android:clickable="true"
+ android:focusable="true"
+ android:orientation="horizontal"
+ android:paddingStart="72dp"
+ android:paddingTop="4dp"
+ android:paddingEnd="16dp"
+ android:paddingBottom="4dp">
+
+ <TextView
+ android:id="@+id/read_posts_limit_text_view_post_history_fragment"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:layout_marginEnd="16dp"
+ android:layout_weight="1"
+ android:drawablePadding="32dp"
+ android:fontFamily="?attr/font_family"
+ android:text="@string/settings_read_posts_limit_title"
+ android:textColor="?attr/primaryTextColor"
+ android:textSize="?attr/font_16" />
+
+ <com.google.android.material.materialswitch.MaterialSwitch
+ android:id="@+id/read_posts_limit_switch_post_history_fragment"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical" />
+
+ </LinearLayout>
+
+ <com.google.android.material.textfield.TextInputLayout
+ android:id="@+id/read_posts_limit_text_input_layout_post_history_fragment"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:paddingStart="72dp"
+ android:paddingTop="4dp"
+ android:paddingEnd="16dp"
+ android:paddingBottom="4dp">
+
+ <com.google.android.material.textfield.TextInputEditText
+ android:id="@+id/read_posts_limit_text_input_edit_text_post_history_fragment"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:fontFamily="?attr/font_family"
+ android:hint="@string/settings_read_posts_limit_hint"
+ android:inputType="number"
+ android:maxLines="11"
+ android:textSize="?attr/font_default" />
+
+ </com.google.android.material.textfield.TextInputLayout>
+
+ <LinearLayout
android:id="@+id/mark_posts_as_read_after_voting_linear_layout_post_history_fragment"
android:layout_width="match_parent"
android:layout_height="wrap_content"