fixed #272
This commit is contained in:
parent
d0b9b99c16
commit
b7247f5bf8
|
@ -1,63 +1,65 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<androidx.core.widget.NestedScrollView
|
<layout>
|
||||||
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">
|
|
||||||
|
|
||||||
<LinearLayout
|
<androidx.core.widget.NestedScrollView
|
||||||
|
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_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent">
|
||||||
android:orientation="vertical"
|
|
||||||
android:paddingHorizontal="8dp"
|
|
||||||
android:paddingTop="16dp">
|
|
||||||
|
|
||||||
<com.vanced.manager.ui.core.PreferenceCategory
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="match_parent"
|
||||||
android:background="@drawable/category_background"
|
android:orientation="vertical"
|
||||||
app:category_title="@string/category_behaviour">
|
android:paddingHorizontal="8dp"
|
||||||
|
android:paddingTop="16dp">
|
||||||
|
|
||||||
<com.vanced.manager.ui.core.PreferenceSwitch
|
<com.vanced.manager.ui.core.PreferenceCategory
|
||||||
android:id="@+id/use_custom_tabs"
|
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
app:switch_def_value="true"
|
android:background="@drawable/category_background"
|
||||||
app:switch_key="@{@string/use_custom_tabs}"
|
app:category_title="@string/category_behaviour">
|
||||||
app:switch_summary="@string/link_custom_tabs"
|
|
||||||
app:switch_title="@string/link_title"/>
|
|
||||||
|
|
||||||
<androidx.recyclerview.widget.RecyclerView
|
<com.vanced.manager.ui.core.PreferenceSwitch
|
||||||
android:id="@+id/notifications_recycler"
|
android:id="@+id/use_custom_tabs"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:nestedScrollingEnabled="false"
|
app:switch_def_value="true"
|
||||||
tools:itemCount="3"
|
app:switch_key="@{@string/use_custom_tabs}"
|
||||||
tools:listitem="@layout/view_preference_switch"/>
|
app:switch_summary="@string/link_custom_tabs"
|
||||||
|
app:switch_title="@string/link_title"/>
|
||||||
|
|
||||||
<com.vanced.manager.ui.core.PreferenceSwitch
|
<androidx.recyclerview.widget.RecyclerView
|
||||||
android:id="@+id/firebase"
|
android:id="@+id/notifications_recycler"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
app:switch_def_value="true"
|
android:nestedScrollingEnabled="false"
|
||||||
app:switch_key="@{@string/firebase}"
|
tools:itemCount="3"
|
||||||
app:switch_summary="@string/firebase_summary"
|
tools:listitem="@layout/view_preference_switch"/>
|
||||||
app:switch_title="@string/firebase_title"/>
|
|
||||||
|
|
||||||
<com.vanced.manager.ui.core.EmptyPreference
|
<com.vanced.manager.ui.core.PreferenceSwitch
|
||||||
android:id="@+id/manager_variant"
|
android:id="@+id/firebase"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
app:preference_title="@string/variant"/>
|
app:switch_def_value="true"
|
||||||
|
app:switch_key="@{@string/firebase}"
|
||||||
|
app:switch_summary="@string/firebase_summary"
|
||||||
|
app:switch_title="@string/firebase_title"/>
|
||||||
|
|
||||||
<com.vanced.manager.ui.core.EmptyPreference
|
<com.vanced.manager.ui.core.EmptyPreference
|
||||||
android:id="@+id/clearFiles"
|
android:id="@+id/manager_variant"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
app:preference_title="@string/clear_files"/>
|
app:preference_title="@string/variant"/>
|
||||||
|
|
||||||
</com.vanced.manager.ui.core.PreferenceCategory>
|
<com.vanced.manager.ui.core.EmptyPreference
|
||||||
|
android:id="@+id/clearFiles"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
app:preference_title="@string/clear_files"/>
|
||||||
|
|
||||||
|
</com.vanced.manager.ui.core.PreferenceCategory>
|
||||||
|
|
||||||
<com.vanced.manager.ui.core.PreferenceCategory
|
<com.vanced.manager.ui.core.PreferenceCategory
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
@ -90,5 +92,9 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
app:preference_title="@string/select_apps"/>
|
app:preference_title="@string/select_apps"/>
|
||||||
</com.vanced.manager.ui.core.PreferenceCategory>
|
</com.vanced.manager.ui.core.PreferenceCategory>
|
||||||
</LinearLayout>
|
|
||||||
</androidx.core.widget.NestedScrollView>
|
</LinearLayout>
|
||||||
|
|
||||||
|
</androidx.core.widget.NestedScrollView>
|
||||||
|
|
||||||
|
</layout>
|
||||||
|
|
Loading…
Reference in New Issue