merging General and Visibility setting sections

This commit is contained in:
tibbi 2022-02-12 17:54:44 +01:00
parent ad9f39cea4
commit 032ca877ed
2 changed files with 2 additions and 20 deletions

View file

@ -93,7 +93,6 @@ class SettingsActivity : SimpleActivity() {
arrayOf( arrayOf(
settings_color_customization_label, settings_color_customization_label,
settings_general_settings_label, settings_general_settings_label,
settings_visibility_label,
settings_videos_label, settings_videos_label,
settings_thumbnails_label, settings_thumbnails_label,
settings_scrolling_label, settings_scrolling_label,
@ -112,7 +111,6 @@ class SettingsActivity : SimpleActivity() {
arrayOf( arrayOf(
settings_color_customization_holder, settings_color_customization_holder,
settings_general_settings_holder, settings_general_settings_holder,
settings_visibility_holder,
settings_videos_holder, settings_videos_holder,
settings_thumbnails_holder, settings_thumbnails_holder,
settings_scrolling_holder, settings_scrolling_holder,

View file

@ -95,7 +95,7 @@
style="@style/SettingsHolderTextViewStyle" style="@style/SettingsHolderTextViewStyle"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="@drawable/ripple_bottom_corners"> android:background="@drawable/ripple_background">
<com.simplemobiletools.commons.views.MyTextView <com.simplemobiletools.commons.views.MyTextView
android:id="@+id/settings_file_loading_priority_label" android:id="@+id/settings_file_loading_priority_label"
@ -113,29 +113,13 @@
tools:text="@string/compromise" /> tools:text="@string/compromise" />
</RelativeLayout> </RelativeLayout>
</LinearLayout>
<TextView
android:id="@+id/settings_visibility_label"
style="@style/SettingsSectionLabelStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/visibility" />
<LinearLayout
android:id="@+id/settings_visibility_holder"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/medium_margin"
android:background="@drawable/section_holder_stroke"
android:orientation="vertical">
<RelativeLayout <RelativeLayout
android:id="@+id/settings_manage_included_folders_holder" android:id="@+id/settings_manage_included_folders_holder"
style="@style/SettingsHolderTextViewOneLinerStyle" style="@style/SettingsHolderTextViewOneLinerStyle"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="@drawable/ripple_top_corners"> android:background="@drawable/ripple_background">
<com.simplemobiletools.commons.views.MyTextView <com.simplemobiletools.commons.views.MyTextView
android:id="@+id/settings_manage_included_folders" android:id="@+id/settings_manage_included_folders"