Adds edit skill fragment to edit individual skills.

This commit is contained in:
2021-06-20 00:51:56 -07:00
parent 547b20292f
commit 3a3f78a31e
5 changed files with 279 additions and 4 deletions

View File

@@ -0,0 +1,46 @@
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".ui.editmonster.EditSkillFragment">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<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/name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/label_name"
android:importantForAutofill="no"
android:inputType="textCapWords"
tools:text="Medicine" />
</com.google.android.material.textfield.TextInputLayout>
<com.majinnaibu.monstercards.ui.components.AbilityScorePicker
android:id="@+id/abilityScore"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/text_margin" />
<com.majinnaibu.monstercards.ui.components.ProficiencyPicker
android:id="@+id/proficiency"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/text_margin" />
<com.majinnaibu.monstercards.ui.components.AdvantagePicker
android:id="@+id/advantage"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/text_margin" />
</LinearLayout>
</ScrollView>