Adds edit sense fragment.
This commit is contained in:
17
app/src/main/res/layout/fragment_edit_sense.xml
Normal file
17
app/src/main/res/layout/fragment_edit_sense.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.google.android.material.textfield.TextInputLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="@dimen/text_margin"
|
||||
tools:context=".ui.editmonster.EditSenseFragment">
|
||||
|
||||
<com.google.android.material.textfield.TextInputEditText
|
||||
android:id="@+id/name"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="@string/label_description"
|
||||
android:importantForAutofill="no"
|
||||
android:inputType="text"
|
||||
tools:text="darkvision 60 ft." />
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
@@ -157,6 +157,19 @@
|
||||
android:id="@+id/editSensesFragment"
|
||||
android:name="com.majinnaibu.monstercards.ui.editmonster.EditSensesFragment"
|
||||
android:label="fragment_edit_senses_list"
|
||||
tools:layout="@layout/fragment_edit_senses_list" />
|
||||
tools:layout="@layout/fragment_edit_senses_list">
|
||||
<action
|
||||
android:id="@+id/action_editSensesFragment_to_editSenseFragment"
|
||||
app:destination="@id/editSenseFragment" />
|
||||
</fragment>
|
||||
<fragment
|
||||
android:id="@+id/editSenseFragment"
|
||||
android:name="com.majinnaibu.monstercards.ui.editmonster.EditSenseFragment"
|
||||
android:label="fragment_edit_sense"
|
||||
tools:layout="@layout/fragment_edit_sense">
|
||||
<argument
|
||||
android:name="sense"
|
||||
app:argType="string" />
|
||||
</fragment>
|
||||
</navigation>
|
||||
</navigation>
|
||||
|
||||
@@ -79,4 +79,5 @@
|
||||
<string name="title_library">Library</string>
|
||||
<string name="title_search">Search</string>
|
||||
<string name="wisdom_abbreviation">WIS</string>
|
||||
<string name="label_description">Description</string>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user