Commit 85dd7613 authored by Geoffrey Métais's avatar Geoffrey Métais

Use new Material Design tools in wizard

parent ec14f4ee
......@@ -500,7 +500,7 @@
<activity
android:name=".gui.wizard.MLWizardActivity"
android:configChanges="orientation|screenSize"
android:theme="@style/Theme.AppCompat.Light.Dialog"
android:theme="@style/Theme.MaterialComponents.Light.Dialog"
android:label="@string/ml_wizard_title"/>
<service android:name=".extensions.ExtensionManagerService" />
......
......@@ -7,22 +7,24 @@
android:layout_height="wrap_content"
android:padding="16dp">
<CheckBox
<android.support.design.chip.Chip
android:id="@+id/wizard_check_scan"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:checked="true"
android:checkable="true"
android:text="@string/ml_wizard_scan_checkbox"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/wizard_description" />
<Button
<android.support.design.button.MaterialButton
android:id="@+id/wizard_validate"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:onClick="apply"
android:text="@string/ok"
android:layout_marginTop="16dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@+id/wizard_check_scan"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment