Adds edit skills view.
This commit is contained in:
13
app/src/main/res/layout/fragment_edit_skills_list.xml
Normal file
13
app/src/main/res/layout/fragment_edit_skills_list.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.recyclerview.widget.RecyclerView 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:id="@+id/list"
|
||||
android:name="com.majinnaibu.monstercards.ui.editmonster.EditSkillsFragment"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="16dp"
|
||||
android:layout_marginRight="16dp"
|
||||
app:layoutManager="LinearLayoutManager"
|
||||
tools:context=".ui.editmonster.EditSkillsFragment"
|
||||
tools:listitem="@layout/fragment_edit_skills_list_item" />
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/content"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="@dimen/text_margin"
|
||||
android:textAppearance="?attr/textAppearanceListItem" />
|
||||
@@ -90,6 +90,9 @@
|
||||
<action
|
||||
android:id="@+id/action_editMonsterFragment_to_editChallengeRatingFragment"
|
||||
app:destination="@id/editChallengeRatingFragment" />
|
||||
<action
|
||||
android:id="@+id/action_editMonsterFragment_to_editSkillsFragment"
|
||||
app:destination="@id/editSkillsFragment" />
|
||||
</fragment>
|
||||
<fragment
|
||||
android:id="@+id/editBasicInfoFragment"
|
||||
@@ -120,6 +123,11 @@
|
||||
android:name="com.majinnaibu.monstercards.ui.editmonster.EditChallengeRatingFragment"
|
||||
android:label="fragment_edit_challenge_rating"
|
||||
tools:layout="@layout/fragment_edit_challenge_rating" />
|
||||
<fragment
|
||||
android:id="@+id/editSkillsFragment"
|
||||
android:name="com.majinnaibu.monstercards.ui.editmonster.EditSkillsFragment"
|
||||
android:label="fragment_edit_skills_list"
|
||||
tools:layout="@layout/fragment_edit_skills_list" />
|
||||
</navigation>
|
||||
|
||||
</navigation>
|
||||
Reference in New Issue
Block a user