261 lines
11 KiB
XML
261 lines
11 KiB
XML
|
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:padding="@dimen/twelve">
|
||
|
|
|
||
|
|
<com.google.android.material.textview.MaterialTextView
|
||
|
|
android:id="@+id/searchWithKeyboard"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="@string/search_with_keyboard"
|
||
|
|
android:textSize="@dimen/normalText"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintTop_toTopOf="parent" />
|
||
|
|
|
||
|
|
<com.google.android.material.chip.ChipGroup
|
||
|
|
android:id="@+id/keyboardAutoGroup"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintTop_toBottomOf="@+id/searchWithKeyboard"
|
||
|
|
app:selectionRequired="true"
|
||
|
|
app:singleSelection="true">
|
||
|
|
|
||
|
|
<com.google.android.material.chip.Chip
|
||
|
|
android:id="@+id/keyboardAutoPositive"
|
||
|
|
style="@style/Widget.Material3.Chip.Filter.Elevated"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="@string/positive" />
|
||
|
|
|
||
|
|
<com.google.android.material.chip.Chip
|
||
|
|
android:id="@+id/keyboardAutoNegative"
|
||
|
|
style="@style/Widget.Material3.Chip.Filter.Elevated"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="@string/negative" />
|
||
|
|
</com.google.android.material.chip.ChipGroup>
|
||
|
|
|
||
|
|
<com.google.android.material.textview.MaterialTextView
|
||
|
|
android:id="@+id/quickLaunch"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="@dimen/twelve"
|
||
|
|
android:text="@string/quick_launch"
|
||
|
|
android:textSize="@dimen/normalText"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintTop_toBottomOf="@+id/keyboardAutoGroup" />
|
||
|
|
|
||
|
|
<com.google.android.material.chip.ChipGroup
|
||
|
|
android:id="@+id/quickLaunchGroup"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintTop_toBottomOf="@+id/quickLaunch"
|
||
|
|
app:selectionRequired="true"
|
||
|
|
app:singleSelection="true">
|
||
|
|
|
||
|
|
<com.google.android.material.chip.Chip
|
||
|
|
android:id="@+id/quickLaunchPositive"
|
||
|
|
style="@style/Widget.Material3.Chip.Filter.Elevated"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="@string/positive" />
|
||
|
|
|
||
|
|
<com.google.android.material.chip.Chip
|
||
|
|
android:id="@+id/quickLaunchNegative"
|
||
|
|
style="@style/Widget.Material3.Chip.Filter.Elevated"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="@string/negative" />
|
||
|
|
</com.google.android.material.chip.ChipGroup>
|
||
|
|
|
||
|
|
<com.google.android.material.textview.MaterialTextView
|
||
|
|
android:id="@+id/appsCount"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="@dimen/twelve"
|
||
|
|
android:text="@string/apps_count"
|
||
|
|
android:textSize="@dimen/normalText"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintTop_toBottomOf="@+id/quickLaunchGroup" />
|
||
|
|
|
||
|
|
<com.google.android.material.chip.ChipGroup
|
||
|
|
android:id="@+id/appsCountGroup"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintTop_toBottomOf="@+id/appsCount"
|
||
|
|
app:selectionRequired="true"
|
||
|
|
app:singleSelection="true">
|
||
|
|
|
||
|
|
<com.google.android.material.chip.Chip
|
||
|
|
android:id="@+id/appsCountPositive"
|
||
|
|
style="@style/Widget.Material3.Chip.Filter.Elevated"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="@string/positive" />
|
||
|
|
|
||
|
|
<com.google.android.material.chip.Chip
|
||
|
|
android:id="@+id/appsCountNegative"
|
||
|
|
style="@style/Widget.Material3.Chip.Filter.Elevated"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="@string/negative" />
|
||
|
|
</com.google.android.material.chip.ChipGroup>
|
||
|
|
|
||
|
|
|
||
|
|
<com.google.android.material.textview.MaterialTextView
|
||
|
|
android:id="@+id/appDrawerLayout"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="@dimen/twelve"
|
||
|
|
android:text="@string/app_drawer_layout"
|
||
|
|
android:textSize="@dimen/normalText"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintTop_toBottomOf="@+id/appsCountGroup" />
|
||
|
|
|
||
|
|
<com.google.android.material.chip.ChipGroup
|
||
|
|
android:id="@+id/drawerLayoutGroup"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintTop_toBottomOf="@id/appDrawerLayout"
|
||
|
|
app:selectionRequired="true"
|
||
|
|
app:singleSelection="true">
|
||
|
|
|
||
|
|
<com.google.android.material.chip.Chip
|
||
|
|
android:id="@+id/drawerLayoutList"
|
||
|
|
style="@style/Widget.Material3.Chip.Filter.Elevated"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="@string/list" />
|
||
|
|
|
||
|
|
<com.google.android.material.chip.Chip
|
||
|
|
android:id="@+id/drawerLayoutListIcon"
|
||
|
|
style="@style/Widget.Material3.Chip.Filter.Elevated"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="@string/list_with_icon" />
|
||
|
|
|
||
|
|
<com.google.android.material.chip.Chip
|
||
|
|
android:id="@+id/drawerLayoutGrid"
|
||
|
|
style="@style/Widget.Material3.Chip.Filter.Elevated"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="@string/grid" />
|
||
|
|
</com.google.android.material.chip.ChipGroup>
|
||
|
|
|
||
|
|
<com.google.android.material.textview.MaterialTextView
|
||
|
|
android:id="@+id/appsAlignment"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="@dimen/twelve"
|
||
|
|
android:text="@string/app_alignment"
|
||
|
|
android:textSize="@dimen/normalText"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintTop_toBottomOf="@+id/drawerLayoutGroup" />
|
||
|
|
|
||
|
|
<com.google.android.material.chip.ChipGroup
|
||
|
|
android:id="@+id/appAlignmentGroup"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintTop_toBottomOf="@+id/appsAlignment"
|
||
|
|
app:selectionRequired="true"
|
||
|
|
app:singleSelection="true">
|
||
|
|
|
||
|
|
<com.google.android.material.chip.Chip
|
||
|
|
android:id="@+id/appAlignmentLeft"
|
||
|
|
style="@style/Widget.Material3.Chip.Filter.Elevated"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="@string/left" />
|
||
|
|
|
||
|
|
<com.google.android.material.chip.Chip
|
||
|
|
android:id="@+id/appAlignmentCenter"
|
||
|
|
style="@style/Widget.Material3.Chip.Filter.Elevated"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="@string/center" />
|
||
|
|
|
||
|
|
<com.google.android.material.chip.Chip
|
||
|
|
android:id="@+id/appAlignmentRight"
|
||
|
|
style="@style/Widget.Material3.Chip.Filter.Elevated"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="@string/right" />
|
||
|
|
</com.google.android.material.chip.ChipGroup>
|
||
|
|
|
||
|
|
<com.google.android.material.button.MaterialButtonToggleGroup
|
||
|
|
android:id="@+id/iconPackGroup"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="@dimen/twelve"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintTop_toBottomOf="@id/appAlignmentGroup">
|
||
|
|
|
||
|
|
<com.google.android.material.button.MaterialButton
|
||
|
|
android:id="@+id/iconPackChooser"
|
||
|
|
style="@style/Widget.Material3.Button.ElevatedButton.Icon"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="@string/choose_icon_pack" />
|
||
|
|
</com.google.android.material.button.MaterialButtonToggleGroup>
|
||
|
|
|
||
|
|
<com.google.android.material.textview.MaterialTextView
|
||
|
|
android:id="@+id/columnsCountTitle"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="@dimen/twelve"
|
||
|
|
android:text="@string/grid_columns_count"
|
||
|
|
android:textSize="@dimen/normalText"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintTop_toBottomOf="@+id/iconPackGroup" />
|
||
|
|
|
||
|
|
<com.google.android.material.slider.Slider
|
||
|
|
android:id="@+id/columnsCount"
|
||
|
|
android:layout_width="@dimen/zero"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:valueFrom="3"
|
||
|
|
android:valueTo="7"
|
||
|
|
android:stepSize="1"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintTop_toBottomOf="@+id/columnsCountTitle" />
|
||
|
|
|
||
|
|
<com.google.android.material.textview.MaterialTextView
|
||
|
|
android:id="@+id/scrollbarHeightTitle"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="@dimen/twelve"
|
||
|
|
android:text="@string/scrollbar_height"
|
||
|
|
android:textSize="@dimen/normalText"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintTop_toBottomOf="@+id/columnsCount" />
|
||
|
|
|
||
|
|
<com.google.android.material.slider.Slider
|
||
|
|
android:id="@+id/scrollbarHeight"
|
||
|
|
android:layout_width="@dimen/zero"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:valueFrom="0"
|
||
|
|
android:valueTo="800"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintTop_toBottomOf="@+id/scrollbarHeightTitle" />
|
||
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|