From b70c077b566d34e0423fd7995fb5effe6214cccc Mon Sep 17 00:00:00 2001 From: Tom Hicks Date: Thu, 27 May 2021 02:17:00 -0700 Subject: [PATCH] Adds top level items to the edit monster view. --- .../main/res/drawable/ic_chevron_right_24.xml | 10 + .../main/res/layout/fragment_edit_monster.xml | 179 ++++++++++++++++-- .../main/res/navigation/mobile_navigation.xml | 4 +- app/src/main/res/values/strings.xml | 19 ++ 4 files changed, 196 insertions(+), 16 deletions(-) create mode 100644 app/src/main/res/drawable/ic_chevron_right_24.xml diff --git a/app/src/main/res/drawable/ic_chevron_right_24.xml b/app/src/main/res/drawable/ic_chevron_right_24.xml new file mode 100644 index 0000000..fd2878a --- /dev/null +++ b/app/src/main/res/drawable/ic_chevron_right_24.xml @@ -0,0 +1,10 @@ + + + diff --git a/app/src/main/res/layout/fragment_edit_monster.xml b/app/src/main/res/layout/fragment_edit_monster.xml index e6cb973..46b9aa9 100644 --- a/app/src/main/res/layout/fragment_edit_monster.xml +++ b/app/src/main/res/layout/fragment_edit_monster.xml @@ -1,20 +1,171 @@ - + android:layout_height="match_parent"> - + - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/navigation/mobile_navigation.xml b/app/src/main/res/navigation/mobile_navigation.xml index 6df7fb3..e2d33bc 100644 --- a/app/src/main/res/navigation/mobile_navigation.xml +++ b/app/src/main/res/navigation/mobile_navigation.xml @@ -60,8 +60,8 @@ + android:label="Edit Monster" + tools:layout="@layout/fragment_edit_monster"> diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index d7760ab..419b928 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -15,4 +15,23 @@ WIS Add monster Edit + Basic Info + Armor + Speed + Ability Scores + Saving Throws + Skills + Condition Immunities + Damage Immunities + Damage Resistances + Damage Vulnerabilities + Senses + Languages + Challenge Rating + Abilities + Actions + Reactions + Legendary Actions + Lair Actions + Regional Actions \ No newline at end of file