mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2025-10-05 21:39:50 +02:00
Continue adding support for post filter.
This commit is contained in:
@@ -163,6 +163,36 @@
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/post_type_gallery_linear_layout_customize_post_filter_activity"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="4dp"
|
||||
android:paddingBottom="4dp"
|
||||
android:paddingStart="32dp"
|
||||
android:paddingEnd="8dp"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:background="?attr/selectableItemBackground">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/post_type_gallery_text_view_customize_post_filter_activity"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:text="@string/post_type_gallery"
|
||||
android:fontFamily="?attr/font_default"
|
||||
android:textSize="?attr/font_default" />
|
||||
|
||||
<com.google.android.material.checkbox.MaterialCheckBox
|
||||
android:id="@+id/post_type_gallery_check_box_customize_post_filter_activity"
|
||||
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/title_excludes_strings_text_input_layout_customize_post_filter_activity"
|
||||
android:layout_width="match_parent"
|
||||
|
@@ -199,6 +199,7 @@
|
||||
<string name="bottom_sheet_post_link">Link</string>
|
||||
<string name="bottom_sheet_post_image">Image</string>
|
||||
<string name="bottom_sheet_post_video">Video</string>
|
||||
<string name="post_type_gallery">Gallery</string>
|
||||
|
||||
<string name="select_from_gallery">Select a picture</string>
|
||||
<string name="select_again">Select again</string>
|
||||
|
@@ -44,11 +44,10 @@
|
||||
<Preference
|
||||
app:key="security"
|
||||
app:title="@string/settings_security_title"
|
||||
android:icon="@drawable/ic_security_24dp"
|
||||
app:icon="@drawable/ic_security_24dp"
|
||||
app:fragment="ml.docilealligator.infinityforreddit.settings.SecurityPreferenceFragment" />
|
||||
|
||||
<Preference
|
||||
app:key="security"
|
||||
app:title="@string/settings_data_saving_mode"
|
||||
app:icon="@drawable/ic_data_saving_mode_24dp"
|
||||
app:fragment="ml.docilealligator.infinityforreddit.settings.DataSavingModePreferenceFragment" />
|
||||
|
Reference in New Issue
Block a user