Changed from using ViewPager2 for changing apps of the app. Added animations for changing to different fragments of the app
787 lines
40 KiB
XML
787 lines
40 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
tools:context=".ui.settings.SettingsFragment">
|
|
|
|
<FrameLayout
|
|
android:id="@+id/touchArea"
|
|
android:layout_marginTop="20dp"
|
|
android:layout_marginBottom="20dp"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent" />
|
|
|
|
<com.github.droidworksstudio.launcher.view.GestureNestedScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:id="@+id/nestScrollView"
|
|
android:clipChildren="false"
|
|
android:clipToPadding="false"
|
|
android:fadingEdgeLength="48dp"
|
|
android:overScrollMode="never"
|
|
android:requiresFadingEdge="vertical"
|
|
android:scrollbars="none">
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="10dp"
|
|
android:layout_marginVertical="32dp"
|
|
android:orientation="vertical"
|
|
tools:ignore="MissingConstraints">
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="20dp"
|
|
android:layout_marginTop="48dp"
|
|
android:text="@string/settings_name"
|
|
android:textSize="@dimen/text_super_large"
|
|
style="@style/TextDefaultStyle" />
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:id="@+id/version_info"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="20dp"
|
|
android:layout_marginTop="18dp"
|
|
android:text="@string/settings_version"
|
|
android:textSize="@dimen/text_large"
|
|
style="@style/TextDefaultStyle" />
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:id="@+id/set_launcher_selector"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="20dp"
|
|
android:layout_marginTop="18dp"
|
|
android:text="@string/action_settings_default"
|
|
android:textSize="@dimen/text_large"
|
|
style="@style/TextDefaultStyle" />
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
tools:ignore="MissingConstraints">
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="20dp"
|
|
android:text="@string/settings_title_app_manager"
|
|
android:textSize="@dimen/text_super_large"
|
|
style="@style/TextDefaultStyle" />
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="20dp"
|
|
android:orientation="horizontal"
|
|
tools:ignore="MissingConstraints">
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:id="@+id/favorite_text"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:gravity="left|center"
|
|
android:text="@string/settings_manager_favorite"
|
|
android:textSize="@dimen/text_large"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
tools:ignore="RtlHardcoded"
|
|
style="@style/TextDefaultStyle" />
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:layout_width="match_parent"
|
|
android:layout_height="28dp"
|
|
android:layout_marginHorizontal="20dp"
|
|
android:layout_marginVertical="20dp"
|
|
tools:ignore="MissingConstraints,TextSizeCheck">
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:id="@+id/hidden_text"
|
|
style="@style/TextDefaultStyle"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:gravity="left|center"
|
|
android:text="@string/settings_manager_hidden"
|
|
android:textSize="@dimen/text_large"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
tools:ignore="RtlHardcoded" />
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
tools:ignore="MissingConstraints">
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="20dp"
|
|
android:text="@string/settings_title_home_behavior_preferences"
|
|
android:textSize="@dimen/text_super_large"
|
|
style="@style/TextDefaultStyle" />
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="20dp"
|
|
android:orientation="horizontal"
|
|
tools:ignore="MissingConstraints">
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:id="@+id/automaticKeyboard_text"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:gravity="left|center"
|
|
android:text="@string/settings_display_automatic_keyboard"
|
|
android:textSize="@dimen/text_large"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
tools:ignore="RtlHardcoded"
|
|
style="@style/TextDefaultStyle" />
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
android:id="@+id/automaticKeyboard_switchCompat"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:scaleX="0.7"
|
|
android:scaleY="0.8"
|
|
android:thumb="@drawable/shape_switch_thumb"
|
|
app:track="@drawable/selector_switch"
|
|
tools:ignore="TouchTargetSizeCheck,DuplicateSpeakableTextCheck" />
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="20dp"
|
|
android:orientation="horizontal"
|
|
tools:ignore="MissingConstraints">
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:id="@+id/automaticOpenApp_text"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:gravity="left|center"
|
|
android:text="@string/settings_display_auto_open_apps"
|
|
android:textSize="@dimen/text_large"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
tools:ignore="RtlHardcoded"
|
|
style="@style/TextDefaultStyle" />
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
android:id="@+id/automaticOpenApp_switchCompat"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:scaleX="0.7"
|
|
android:scaleY="0.8"
|
|
android:thumb="@drawable/shape_switch_thumb"
|
|
app:track="@drawable/selector_switch"
|
|
tools:ignore="TouchTargetSizeCheck" />
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="20dp"
|
|
android:orientation="horizontal"
|
|
tools:ignore="MissingConstraints">
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:id="@+id/lockSettings_text"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:gravity="left|center"
|
|
android:text="@string/settings_display_lock_settings"
|
|
android:textSize="@dimen/text_large"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
tools:ignore="RtlHardcoded"
|
|
style="@style/TextDefaultStyle" />
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
android:id="@+id/lockSettings_switchCompat"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:scaleX="0.7"
|
|
android:scaleY="0.8"
|
|
android:thumb="@drawable/shape_switch_thumb"
|
|
app:track="@drawable/selector_switch"
|
|
tools:ignore="TouchTargetSizeCheck" />
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
tools:ignore="MissingConstraints">
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="20dp"
|
|
android:text="@string/settings_title_home_display_preferences"
|
|
android:textSize="@dimen/text_super_large"
|
|
style="@style/TextDefaultStyle" />
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="20dp"
|
|
android:orientation="horizontal"
|
|
tools:ignore="MissingConstraints">
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:id="@+id/statue_bar_text"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:gravity="left|center"
|
|
android:text="@string/settings_display_status_bar"
|
|
android:textSize="@dimen/text_large"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
tools:ignore="RtlHardcoded"
|
|
style="@style/TextDefaultStyle" />
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
android:id="@+id/statue_bar_switchCompat"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:scaleX="0.7"
|
|
android:scaleY="0.8"
|
|
android:thumb="@drawable/shape_switch_thumb"
|
|
app:track="@drawable/selector_switch"
|
|
tools:ignore="DuplicateSpeakableTextCheck,TouchTargetSizeCheck" />
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="20dp"
|
|
android:orientation="horizontal"
|
|
tools:ignore="MissingConstraints">
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:id="@+id/date_text"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:gravity="left|center"
|
|
android:text="@string/settings_display_date"
|
|
android:textSize="@dimen/text_large"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
tools:ignore="RtlHardcoded"
|
|
style="@style/TextDefaultStyle" />
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
android:id="@+id/date_switchCompat"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:scaleX="0.7"
|
|
android:scaleY="0.8"
|
|
android:thumb="@drawable/shape_switch_thumb"
|
|
app:track="@drawable/selector_switch"
|
|
tools:ignore="TouchTargetSizeCheck" />
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="20dp"
|
|
android:orientation="horizontal"
|
|
tools:ignore="MissingConstraints">
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:id="@+id/time_text"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:gravity="left|center"
|
|
android:text="@string/settings_display_time"
|
|
android:textSize="@dimen/text_large"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
tools:ignore="RtlHardcoded"
|
|
style="@style/TextDefaultStyle" />
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
android:id="@+id/time_switchCompat"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:scaleX="0.7"
|
|
android:scaleY="0.8"
|
|
android:thumb="@drawable/shape_switch_thumb"
|
|
app:track="@drawable/selector_switch"
|
|
tools:ignore="TouchTargetSizeCheck" />
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="20dp"
|
|
android:orientation="horizontal"
|
|
tools:ignore="MissingConstraints">
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:id="@+id/battery_text"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:gravity="left|center"
|
|
android:text="@string/settings_display_battery"
|
|
android:textSize="@dimen/text_large"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
tools:ignore="RtlHardcoded"
|
|
style="@style/TextDefaultStyle" />
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
android:id="@+id/battery_switchCompat"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:scaleX="0.7"
|
|
android:scaleY="0.8"
|
|
android:thumb="@drawable/shape_switch_thumb"
|
|
app:track="@drawable/selector_switch"
|
|
tools:ignore="TouchTargetSizeCheck" />
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="20dp"
|
|
android:orientation="horizontal"
|
|
tools:ignore="MissingConstraints">
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:id="@+id/dailyWord_text"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:gravity="left|center"
|
|
android:text="@string/settings_display_daily_word"
|
|
android:textSize="@dimen/text_large"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
tools:ignore="RtlHardcoded"
|
|
style="@style/TextDefaultStyle" />
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
android:id="@+id/dailyWord_switchCompat"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:scaleX="0.7"
|
|
android:scaleY="0.8"
|
|
android:thumb="@drawable/shape_switch_thumb"
|
|
app:track="@drawable/selector_switch"
|
|
tools:ignore="TouchTargetSizeCheck" />
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="20dp"
|
|
android:orientation="horizontal"
|
|
tools:ignore="MissingConstraints">
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:id="@+id/appIcons_text"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:gravity="left|center"
|
|
android:text="@string/settings_display_app_icons"
|
|
android:textSize="@dimen/text_large"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
tools:ignore="RtlHardcoded"
|
|
style="@style/TextDefaultStyle" />
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
android:id="@+id/appIcons_switchCompat"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:scaleX="0.7"
|
|
android:scaleY="0.8"
|
|
android:thumb="@drawable/shape_switch_thumb"
|
|
app:track="@drawable/selector_switch"
|
|
tools:ignore="TouchTargetSizeCheck" />
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
tools:ignore="MissingConstraints">
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="20dp"
|
|
android:text="@string/settings_title_home_appearance_preferences"
|
|
android:textSize="@dimen/text_super_large"
|
|
style="@style/TextDefaultStyle" />
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:id="@+id/select_appearance_text_size"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="20dp"
|
|
android:layout_marginBottom="20dp"
|
|
android:orientation="horizontal"
|
|
tools:ignore="MissingConstraints">
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:gravity="left|center"
|
|
android:text="@string/settings_appearance_text_size_title"
|
|
android:textSize="@dimen/text_large"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
tools:ignore="RtlHardcoded"
|
|
style="@style/TextDefaultStyle" />
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:id="@+id/select_appearance_color"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="20dp"
|
|
android:layout_marginBottom="20dp"
|
|
android:orientation="horizontal"
|
|
tools:ignore="MissingConstraints">
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:gravity="left|center"
|
|
android:text="@string/settings_appearance_color_title"
|
|
android:textSize="@dimen/text_large"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
tools:ignore="RtlHardcoded"
|
|
style="@style/TextDefaultStyle" />
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:id="@+id/select_appearance_alignment"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="28dp"
|
|
android:layout_marginHorizontal="20dp"
|
|
android:layout_marginBottom="20dp"
|
|
tools:ignore="MissingConstraints,TextSizeCheck">
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
style="@style/TextDefaultStyle"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:gravity="left|center"
|
|
android:text="@string/settings_appearance_alignment_title"
|
|
android:textSize="@dimen/text_large"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
tools:ignore="RtlHardcoded" />
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:id="@+id/select_appearance_padding"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="28dp"
|
|
android:layout_marginHorizontal="20dp"
|
|
android:layout_marginBottom="20dp"
|
|
tools:ignore="MissingConstraints,TextSizeCheck">
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
style="@style/TextDefaultStyle"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:gravity="left|center"
|
|
android:text="@string/settings_appearance_padding_title"
|
|
android:textSize="@dimen/text_large"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
tools:ignore="RtlHardcoded" />
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:id="@+id/set_app_wallpaper"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="28dp"
|
|
android:layout_marginHorizontal="20dp"
|
|
android:layout_marginBottom="20dp"
|
|
tools:ignore="MissingConstraints,TextSizeCheck">
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
style="@style/TextDefaultStyle"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:gravity="left|center"
|
|
android:text="@string/settings_appearance_wallpaper"
|
|
android:textSize="@dimen/text_large"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
tools:ignore="RtlHardcoded" />
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
tools:ignore="MissingConstraints">
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
tools:ignore="MissingConstraints">
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="20dp"
|
|
android:text="@string/settings_title_gestures"
|
|
android:textSize="@dimen/text_super_large"
|
|
style="@style/TextDefaultStyle" />
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="20dp"
|
|
android:orientation="horizontal"
|
|
tools:ignore="MissingConstraints">
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:id="@+id/gestures_lock_text"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:gravity="left|center"
|
|
android:text="@string/settings_double_tap_lock"
|
|
android:textSize="@dimen/text_large"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
tools:ignore="RtlHardcoded"
|
|
style="@style/TextDefaultStyle" />
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
android:id="@+id/gestures_lock_switchCompat"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:thumb="@drawable/shape_switch_thumb"
|
|
app:track="@drawable/selector_switch"
|
|
android:scaleY="0.8"
|
|
android:scaleX="0.7" />
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="20dp"
|
|
android:orientation="horizontal"
|
|
tools:ignore="MissingConstraints">
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:id="@+id/gestures_notification_text"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:gravity="left|center"
|
|
android:text="@string/settings_swipe_down_notification"
|
|
android:textSize="@dimen/text_large"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
tools:ignore="RtlHardcoded"
|
|
style="@style/TextDefaultStyle" />
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
android:id="@+id/gestures_notification_switchCompat"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:thumb="@drawable/shape_switch_thumb"
|
|
app:track="@drawable/selector_switch"
|
|
android:scaleY="0.8"
|
|
android:scaleX="0.7" />
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="20dp"
|
|
android:orientation="horizontal"
|
|
tools:ignore="MissingConstraints">
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:id="@+id/gestures_search_text"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:gravity="left|center"
|
|
android:text="@string/settings_swipe_up_search"
|
|
android:textSize="@dimen/text_large"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
tools:ignore="RtlHardcoded"
|
|
style="@style/TextDefaultStyle" />
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
android:id="@+id/gestures_search_switchCompat"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:thumb="@drawable/shape_switch_thumb"
|
|
app:track="@drawable/selector_switch"
|
|
android:scaleY="0.8"
|
|
android:scaleX="0.7" />
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
tools:ignore="MissingConstraints">
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="20dp"
|
|
android:text="@string/settings_title_backups"
|
|
android:textSize="@dimen/text_super_large"
|
|
style="@style/TextDefaultStyle" />
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="20dp"
|
|
android:orientation="vertical"
|
|
tools:ignore="MissingConstraints">
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:id="@+id/backup_view"
|
|
android:text="@string/settings_backups_backup"
|
|
android:textSize="@dimen/text_large"
|
|
android:layout_marginVertical="10dp"
|
|
style="@style/TextDefaultStyle" />
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:id="@+id/restore_view"
|
|
android:text="@string/settings_backups_restore"
|
|
android:textSize="@dimen/text_large"
|
|
android:layout_marginVertical="10dp"
|
|
style="@style/TextDefaultStyle" />
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
tools:ignore="MissingConstraints">
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="20dp"
|
|
android:text="@string/settings_title_others"
|
|
android:textSize="@dimen/text_super_large"
|
|
style="@style/TextDefaultStyle" />
|
|
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:layout_marginHorizontal="20dp"
|
|
android:layout_marginBottom="20dp"
|
|
android:layout_weight="4"
|
|
android:gravity="center"
|
|
tools:ignore="MissingConstraints">
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:id="@+id/share_view"
|
|
android:text="@string/settings_others_share"
|
|
android:textSize="@dimen/text_large"
|
|
android:layout_marginHorizontal="10dp"
|
|
style="@style/TextDefaultStyle" />
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:id="@+id/github_view"
|
|
android:text="@string/settings_others_github"
|
|
android:textSize="@dimen/text_large"
|
|
android:layout_marginHorizontal="10dp"
|
|
style="@style/TextDefaultStyle" />
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:id="@+id/feedback_view"
|
|
android:text="@string/settings_others_feedback"
|
|
android:textSize="@dimen/text_large"
|
|
android:layout_marginHorizontal="10dp"
|
|
style="@style/TextDefaultStyle" />
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
</com.github.droidworksstudio.launcher.view.GestureNestedScrollView>
|
|
|
|
</FrameLayout> |