2018-12-03 18:26:47 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<navigation 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/navigation"
|
|
|
|
|
app:startDestination="@id/tasksFragment">
|
|
|
|
|
|
|
|
|
|
<fragment
|
|
|
|
|
android:id="@+id/equipmentOverviewFragment"
|
|
|
|
|
android:name="com.habitrpg.android.habitica.ui.fragments.inventory.equipment.EquipmentOverviewFragment"
|
|
|
|
|
android:label="@string/sidebar.equipment" >
|
2019-02-28 13:21:14 +00:00
|
|
|
<deepLink app:uri="habitica.com/inventory/equipment" />
|
2018-12-03 18:26:47 +00:00
|
|
|
<action
|
|
|
|
|
android:id="@+id/openEquipmentDetail"
|
|
|
|
|
app:destination="@id/equipmentDetailFragment" />
|
|
|
|
|
</fragment>
|
|
|
|
|
<fragment
|
|
|
|
|
android:id="@+id/equipmentDetailFragment"
|
|
|
|
|
android:name="com.habitrpg.android.habitica.ui.fragments.inventory.equipment.EquipmentDetailFragment"
|
|
|
|
|
android:label="@string/sidebar.equipment" >
|
|
|
|
|
<argument
|
|
|
|
|
android:name="type"
|
|
|
|
|
app:argType="string" />
|
|
|
|
|
<argument android:name="isCostume"
|
|
|
|
|
app:argType="boolean"/>
|
|
|
|
|
<argument
|
|
|
|
|
android:name="equippedGear"
|
|
|
|
|
app:argType="string" />
|
|
|
|
|
</fragment>
|
|
|
|
|
<fragment
|
|
|
|
|
android:id="@+id/tasksFragment"
|
|
|
|
|
android:name="com.habitrpg.android.habitica.ui.fragments.tasks.TasksFragment">
|
|
|
|
|
<deepLink app:uri="habitica.com/tasks" />
|
2019-02-28 13:21:14 +00:00
|
|
|
<deepLink app:uri="habitica.com" />
|
2018-12-03 18:26:47 +00:00
|
|
|
</fragment>
|
|
|
|
|
<fragment
|
|
|
|
|
android:id="@+id/partyFragment"
|
|
|
|
|
android:name="com.habitrpg.android.habitica.ui.fragments.social.party.PartyFragment"
|
|
|
|
|
android:label="@string/sidebar.party">
|
|
|
|
|
<deepLink app:uri="habitica.com/party" />
|
2018-12-07 17:54:14 +00:00
|
|
|
<action
|
|
|
|
|
android:id="@+id/openQuestDetail"
|
|
|
|
|
app:destination="@id/questDetailFragment" />
|
|
|
|
|
</fragment>
|
|
|
|
|
<fragment
|
|
|
|
|
android:id="@+id/questDetailFragment"
|
|
|
|
|
android:name="com.habitrpg.android.habitica.ui.fragments.social.QuestDetailFragment">
|
2019-02-28 13:21:14 +00:00
|
|
|
<deepLink app:uri="habitica.com/party/quest" />
|
2018-12-07 17:54:14 +00:00
|
|
|
<argument
|
|
|
|
|
android:name="partyID"
|
|
|
|
|
app:argType="string"/>
|
|
|
|
|
<argument
|
|
|
|
|
android:name="questKey"
|
|
|
|
|
app:argType="string"/>
|
2018-12-03 18:26:47 +00:00
|
|
|
</fragment>
|
|
|
|
|
<fragment
|
|
|
|
|
android:id="@+id/skillsFragment"
|
|
|
|
|
android:name="com.habitrpg.android.habitica.ui.fragments.skills.SkillsFragment"
|
2019-02-28 13:21:14 +00:00
|
|
|
android:label="@string/sidebar.skills">
|
|
|
|
|
|
|
|
|
|
</fragment>
|
2018-12-03 18:26:47 +00:00
|
|
|
<fragment
|
|
|
|
|
android:id="@+id/statsFragment"
|
|
|
|
|
android:name="com.habitrpg.android.habitica.ui.fragments.StatsFragment"
|
2019-02-28 13:21:14 +00:00
|
|
|
android:label="@string/stats">
|
|
|
|
|
<deepLink app:uri="habitica.com/user/stats" />
|
|
|
|
|
</fragment>
|
2018-12-03 18:26:47 +00:00
|
|
|
<fragment
|
|
|
|
|
android:id="@+id/tavernFragment"
|
|
|
|
|
android:name="com.habitrpg.android.habitica.ui.fragments.social.TavernFragment"
|
2019-02-28 13:21:14 +00:00
|
|
|
android:label="@string/sidebar.tavern">
|
|
|
|
|
<deepLink app:uri="habitica.com/tavern" />
|
|
|
|
|
</fragment>
|
2018-12-03 18:26:47 +00:00
|
|
|
<fragment
|
|
|
|
|
android:id="@+id/guildsOverviewFragment"
|
|
|
|
|
android:name="com.habitrpg.android.habitica.ui.fragments.social.GuildsOverviewFragment"
|
|
|
|
|
android:label="@string/sidebar.guilds" >
|
2019-02-28 13:21:14 +00:00
|
|
|
<deepLink app:uri="habitica.com/groups/myGuilds" />
|
2018-12-03 18:26:47 +00:00
|
|
|
<action
|
|
|
|
|
android:id="@+id/openGuildDetail"
|
|
|
|
|
app:destination="@id/guildFragment" >
|
|
|
|
|
<argument
|
|
|
|
|
android:name="isMember"
|
|
|
|
|
android:defaultValue="true" />
|
|
|
|
|
</action>
|
|
|
|
|
<action
|
|
|
|
|
android:id="@+id/openPublicGuilds"
|
|
|
|
|
app:destination="@id/publicGuildsFragment" />
|
|
|
|
|
</fragment>
|
|
|
|
|
<fragment
|
|
|
|
|
android:id="@+id/challengesOverviewFragment"
|
|
|
|
|
android:name="com.habitrpg.android.habitica.ui.fragments.social.challenges.ChallengesOverviewFragment"
|
2018-12-07 17:54:14 +00:00
|
|
|
android:label="@string/sidebar.challenges" >
|
2019-02-28 13:21:14 +00:00
|
|
|
<deepLink app:uri="habitica.com/challenges/myChallenges" />
|
|
|
|
|
<deepLink app:uri="habitica.com/challenges/findChallenges" />
|
2018-12-07 17:54:14 +00:00
|
|
|
<action
|
|
|
|
|
android:id="@+id/openChallengeDetail"
|
|
|
|
|
app:destination="@id/challengeDetailFragment" />
|
|
|
|
|
</fragment>
|
2018-12-03 18:26:47 +00:00
|
|
|
<fragment
|
|
|
|
|
android:id="@+id/shopsFragment"
|
|
|
|
|
android:name="com.habitrpg.android.habitica.ui.fragments.inventory.shops.ShopsFragment"
|
|
|
|
|
android:label="@string/sidebar_shops" />
|
|
|
|
|
<fragment
|
|
|
|
|
android:id="@+id/avatarOverviewFragment"
|
|
|
|
|
android:name="com.habitrpg.android.habitica.ui.fragments.inventory.customization.AvatarOverviewFragment"
|
|
|
|
|
android:label="@string/sidebar.avatar" >
|
|
|
|
|
<action
|
|
|
|
|
android:id="@+id/openAvatarDetail"
|
|
|
|
|
app:destination="@id/avatarCustomizationFragment" />
|
|
|
|
|
</fragment>
|
|
|
|
|
<fragment
|
|
|
|
|
android:id="@+id/itemsFragment"
|
|
|
|
|
android:name="com.habitrpg.android.habitica.ui.fragments.inventory.items.ItemsFragment"
|
2019-02-28 13:21:14 +00:00
|
|
|
android:label="@string/sidebar_items">
|
|
|
|
|
<deepLink app:uri="habitica.com/inventory/items" />
|
|
|
|
|
</fragment>
|
2018-12-03 18:26:47 +00:00
|
|
|
<fragment
|
|
|
|
|
android:id="@+id/stableFragment"
|
|
|
|
|
android:name="com.habitrpg.android.habitica.ui.fragments.inventory.stable.StableFragment"
|
|
|
|
|
android:label="@string/sidebar.stable" >
|
2019-02-28 13:21:14 +00:00
|
|
|
<deepLink app:uri="habitica.com/inventory/stable" />
|
2018-12-03 18:26:47 +00:00
|
|
|
<action
|
|
|
|
|
android:id="@+id/openPetDetail"
|
|
|
|
|
app:destination="@id/petDetailRecyclerFragment" />
|
|
|
|
|
<action
|
|
|
|
|
android:id="@+id/openMountDetail"
|
|
|
|
|
app:destination="@id/mountDetailRecyclerFragment" />
|
|
|
|
|
</fragment>
|
|
|
|
|
<activity
|
|
|
|
|
android:id="@+id/gemPurchaseActivity"
|
|
|
|
|
android:name="com.habitrpg.android.habitica.ui.activities.GemPurchaseActivity"
|
2019-01-03 06:12:24 +00:00
|
|
|
android:label="@string/gem.purchase.toolbartitle" />
|
2018-12-03 18:26:47 +00:00
|
|
|
<fragment
|
|
|
|
|
android:id="@+id/newsFragment"
|
|
|
|
|
android:name="com.habitrpg.android.habitica.ui.fragments.NewsFragment"
|
|
|
|
|
android:label="@string/sidebar.news" />
|
|
|
|
|
<fragment
|
|
|
|
|
android:id="@+id/FAQOverviewFragment"
|
|
|
|
|
android:name="com.habitrpg.android.habitica.ui.fragments.faq.FAQOverviewFragment"
|
|
|
|
|
android:label="@string/sidebar_help" >
|
2019-02-28 13:21:14 +00:00
|
|
|
<deepLink app:uri="habitica.com/static/faq" />
|
2018-12-03 18:26:47 +00:00
|
|
|
<action
|
|
|
|
|
android:id="@+id/openFAQDetail"
|
|
|
|
|
app:destination="@id/FAQDetailFragment" />
|
|
|
|
|
</fragment>
|
|
|
|
|
<fragment
|
|
|
|
|
android:id="@+id/aboutFragment"
|
|
|
|
|
android:name="com.habitrpg.android.habitica.ui.fragments.AboutFragment"
|
|
|
|
|
android:label="@string/sidebar.about" />
|
|
|
|
|
<fragment
|
|
|
|
|
android:id="@+id/inboxFragment"
|
|
|
|
|
android:name="com.habitrpg.android.habitica.ui.fragments.social.InboxFragment"
|
|
|
|
|
android:label="@string/sidebar.inbox" >
|
|
|
|
|
<action
|
2018-12-07 17:54:14 +00:00
|
|
|
android:id="@+id/openInboxDetail"
|
2018-12-03 18:26:47 +00:00
|
|
|
app:destination="@id/inboxMessageListFragment" />
|
|
|
|
|
</fragment>
|
|
|
|
|
<fragment
|
|
|
|
|
android:id="@+id/guildFragment"
|
|
|
|
|
android:name="com.habitrpg.android.habitica.ui.fragments.social.GuildFragment"
|
|
|
|
|
android:label="@string/guild" >
|
2019-02-28 13:21:14 +00:00
|
|
|
<deepLink app:uri="habitica.com/groups/guild/{groupID}" />
|
2018-12-03 18:26:47 +00:00
|
|
|
<argument
|
|
|
|
|
android:name="groupID"
|
|
|
|
|
app:argType="string" />
|
|
|
|
|
<argument
|
|
|
|
|
android:name="isMember"
|
2019-02-28 13:21:14 +00:00
|
|
|
app:argType="boolean"
|
|
|
|
|
android:defaultValue="false"/>
|
2018-12-03 18:26:47 +00:00
|
|
|
</fragment>
|
|
|
|
|
<fragment
|
|
|
|
|
android:id="@+id/publicGuildsFragment"
|
|
|
|
|
android:name="com.habitrpg.android.habitica.ui.fragments.social.PublicGuildsFragment"
|
|
|
|
|
android:label="@string/public_guilds" >
|
|
|
|
|
<action
|
|
|
|
|
android:id="@+id/openGuildDetail"
|
|
|
|
|
app:destination="@id/guildFragment" />
|
|
|
|
|
</fragment>
|
|
|
|
|
<fragment
|
|
|
|
|
android:id="@+id/FAQDetailFragment"
|
|
|
|
|
android:name="com.habitrpg.android.habitica.ui.fragments.faq.FAQDetailFragment"
|
|
|
|
|
android:label="@string/sidebar_help" >
|
|
|
|
|
<argument
|
|
|
|
|
android:name="position"
|
|
|
|
|
app:argType="integer" />
|
|
|
|
|
</fragment>
|
|
|
|
|
<fragment
|
|
|
|
|
android:id="@+id/avatarCustomizationFragment"
|
|
|
|
|
android:name="com.habitrpg.android.habitica.ui.fragments.inventory.customization.AvatarCustomizationFragment"
|
|
|
|
|
android:label="@string/sidebar.avatar" >
|
|
|
|
|
<argument
|
|
|
|
|
android:name="type"
|
|
|
|
|
app:argType="string" />
|
|
|
|
|
<argument
|
|
|
|
|
android:name="category"
|
|
|
|
|
app:argType="string" />
|
|
|
|
|
</fragment>
|
|
|
|
|
<activity
|
|
|
|
|
android:id="@+id/prefsActivity"
|
|
|
|
|
android:name="com.habitrpg.android.habitica.ui.activities.PrefsActivity"
|
2019-01-03 06:12:24 +00:00
|
|
|
android:label="@string/app_settings"
|
2019-02-28 13:21:14 +00:00
|
|
|
tools:layout="@layout/activity_prefs">
|
|
|
|
|
</activity>
|
2018-12-03 18:26:47 +00:00
|
|
|
<fragment
|
|
|
|
|
android:id="@+id/inboxMessageListFragment"
|
|
|
|
|
android:name="com.habitrpg.android.habitica.ui.fragments.social.InboxMessageListFragment"
|
2019-01-03 06:12:24 +00:00
|
|
|
android:label="@string/inbox" >
|
2018-12-03 18:26:47 +00:00
|
|
|
<argument
|
|
|
|
|
android:name="userID"
|
|
|
|
|
app:argType="string" />
|
2018-12-07 17:54:14 +00:00
|
|
|
<argument
|
|
|
|
|
android:name="username"
|
|
|
|
|
app:argType="string" />
|
2018-12-03 18:26:47 +00:00
|
|
|
</fragment>
|
|
|
|
|
<fragment
|
|
|
|
|
android:id="@+id/petDetailRecyclerFragment"
|
|
|
|
|
android:name="com.habitrpg.android.habitica.ui.fragments.inventory.stable.PetDetailRecyclerFragment"
|
2019-02-28 13:21:14 +00:00
|
|
|
android:label="@string/pets">
|
2018-12-03 18:26:47 +00:00
|
|
|
<argument
|
|
|
|
|
android:name="type"
|
|
|
|
|
app:argType="string" />
|
|
|
|
|
<argument
|
|
|
|
|
android:name="group"
|
|
|
|
|
app:argType="string" />
|
|
|
|
|
</fragment>
|
|
|
|
|
<fragment
|
|
|
|
|
android:id="@+id/mountDetailRecyclerFragment"
|
|
|
|
|
android:name="com.habitrpg.android.habitica.ui.fragments.inventory.stable.MountDetailRecyclerFragment"
|
2019-01-03 06:12:24 +00:00
|
|
|
android:label="@string/mounts" >
|
2018-12-03 18:26:47 +00:00
|
|
|
<argument
|
|
|
|
|
android:name="type"
|
|
|
|
|
app:argType="string" />
|
|
|
|
|
<argument
|
|
|
|
|
android:name="group"
|
|
|
|
|
app:argType="string" />
|
|
|
|
|
</fragment>
|
2018-12-07 17:54:14 +00:00
|
|
|
<fragment
|
|
|
|
|
android:id="@+id/challengeDetailFragment"
|
|
|
|
|
android:name="com.habitrpg.android.habitica.ui.fragments.social.challenges.ChallengeDetailFragment"
|
2019-02-28 13:21:14 +00:00
|
|
|
android:label="@string/challenge">
|
|
|
|
|
<deepLink app:uri="habitica.com/challenges/{challengeID}" />
|
2018-12-07 17:54:14 +00:00
|
|
|
<argument
|
|
|
|
|
android:name="challengeID"
|
|
|
|
|
app:argType="string" />
|
|
|
|
|
</fragment>
|
|
|
|
|
<activity
|
|
|
|
|
android:id="@+id/taskFormActivity"
|
2019-03-27 14:19:23 +00:00
|
|
|
android:name="com.habitrpg.android.habitica.ui.activities.OldTaskFormActivity"
|
2018-12-07 17:54:14 +00:00
|
|
|
android:label="TaskFormActivity" />
|
2019-02-28 13:21:14 +00:00
|
|
|
<activity
|
|
|
|
|
android:id="@+id/fullProfileActivity"
|
|
|
|
|
android:name="com.habitrpg.android.habitica.ui.activities.FullProfileActivity"
|
|
|
|
|
android:label="FullProfileActivity">
|
|
|
|
|
<argument
|
|
|
|
|
android:name="userID"
|
|
|
|
|
app:argType="string" />
|
|
|
|
|
</activity>
|
2019-03-05 12:14:42 +00:00
|
|
|
<activity
|
|
|
|
|
android:id="@+id/groupFormActivity"
|
|
|
|
|
android:name="com.habitrpg.android.habitica.ui.activities.GroupFormActivity"
|
|
|
|
|
android:label="GroupFormActivity" />
|
2018-12-03 18:26:47 +00:00
|
|
|
</navigation>
|