Merge commit 'd1e3c3f5f313057e5a81a4333906ef5d79adea83' as 'Android'
This commit is contained in:
95
Android/app/src/main/res/layout/fragment_edit_speed.xml
Normal file
95
Android/app/src/main/res/layout/fragment_edit_speed.xml
Normal file
@@ -0,0 +1,95 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ScrollView 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.editmonster.EditBasicInfoFragment">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.majinnaibu.monstercards.ui.components.Stepper
|
||||
android:id="@+id/baseSpeed"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="@dimen/text_margin"
|
||||
app:label="@string/label_base_speed"
|
||||
app:maxValue="1000"
|
||||
app:minValue="0"
|
||||
app:stepAmount="5" />
|
||||
|
||||
<com.majinnaibu.monstercards.ui.components.Stepper
|
||||
android:id="@+id/burrowSpeed"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="@dimen/text_margin"
|
||||
app:label="@string/label_burrow_speed"
|
||||
app:maxValue="1000"
|
||||
app:minValue="0"
|
||||
app:stepAmount="5" />
|
||||
|
||||
<com.majinnaibu.monstercards.ui.components.Stepper
|
||||
android:id="@+id/climbSpeed"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="@dimen/text_margin"
|
||||
app:label="@string/label_climb_speed"
|
||||
app:maxValue="1000"
|
||||
app:minValue="0"
|
||||
app:stepAmount="5" />
|
||||
|
||||
<com.majinnaibu.monstercards.ui.components.Stepper
|
||||
android:id="@+id/flySpeed"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="@dimen/text_margin"
|
||||
app:label="@string/label_fly_speed"
|
||||
app:maxValue="1000"
|
||||
app:minValue="0"
|
||||
app:stepAmount="5" />
|
||||
|
||||
<com.majinnaibu.monstercards.ui.components.Stepper
|
||||
android:id="@+id/swimSpeed"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="@dimen/text_margin"
|
||||
app:label="@string/label_swim_speed"
|
||||
app:maxValue="1000"
|
||||
app:minValue="0"
|
||||
app:stepAmount="5" />
|
||||
|
||||
<com.google.android.material.switchmaterial.SwitchMaterial
|
||||
android:id="@+id/canHover"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="@dimen/text_margin"
|
||||
android:text="@string/label_can_hover"
|
||||
android:textAppearance="@android:style/TextAppearance.Material.Medium" />
|
||||
|
||||
<com.google.android.material.switchmaterial.SwitchMaterial
|
||||
android:id="@+id/hasCustomSpeed"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="@dimen/text_margin"
|
||||
android:text="@string/label_has_custom_speed"
|
||||
android:textAppearance="@android:style/TextAppearance.Material.Medium" />
|
||||
|
||||
<com.google.android.material.textfield.TextInputLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="@dimen/text_margin">
|
||||
|
||||
<com.google.android.material.textfield.TextInputEditText
|
||||
android:id="@+id/customSpeed"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="@string/label_custom_speed"
|
||||
android:importantForAutofill="no"
|
||||
android:inputType="text"
|
||||
tools:text="John Doe" />
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
Reference in New Issue
Block a user