98 lines
No EOL
3.9 KiB
XML
98 lines
No EOL
3.9 KiB
XML
<?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/manage_profile"
|
|
app:startDestination="@id/manageProfileFragment">
|
|
|
|
<fragment
|
|
android:id="@+id/manageProfileFragment"
|
|
android:name="org.thoughtcrime.securesms.profiles.manage.ManageProfileFragment"
|
|
android:label="fragment_manage_profile"
|
|
tools:layout="@layout/manage_profile_fragment">
|
|
|
|
<action
|
|
android:id="@+id/action_manageUsername"
|
|
app:destination="@id/usernameManageFragment"
|
|
app:enterAnim="@anim/slide_from_end"
|
|
app:exitAnim="@anim/slide_to_start"
|
|
app:popEnterAnim="@anim/slide_from_start"
|
|
app:popExitAnim="@anim/slide_to_end" />
|
|
|
|
<action
|
|
android:id="@+id/action_manageProfileName"
|
|
app:destination="@id/profileNameManageFragment"
|
|
app:enterAnim="@anim/slide_from_end"
|
|
app:exitAnim="@anim/slide_to_start"
|
|
app:popEnterAnim="@anim/slide_from_start"
|
|
app:popExitAnim="@anim/slide_to_end" />
|
|
|
|
<action
|
|
android:id="@+id/action_manageAbout"
|
|
app:destination="@id/aboutManageFragment"
|
|
app:enterAnim="@anim/slide_from_end"
|
|
app:exitAnim="@anim/slide_to_start"
|
|
app:popEnterAnim="@anim/slide_from_start"
|
|
app:popExitAnim="@anim/slide_to_end" />
|
|
|
|
<action
|
|
android:id="@+id/action_manageProfileFragment_to_avatar_picker"
|
|
app:destination="@id/avatar_picker"
|
|
app:enterAnim="@anim/nav_default_enter_anim"
|
|
app:exitAnim="@anim/nav_default_exit_anim"
|
|
app:popEnterAnim="@anim/nav_default_pop_enter_anim"
|
|
app:popExitAnim="@anim/nav_default_pop_exit_anim">
|
|
|
|
<argument
|
|
android:name="group_id"
|
|
app:argType="org.thoughtcrime.securesms.groups.ParcelableGroupId"
|
|
app:nullable="true" />
|
|
|
|
<argument
|
|
android:name="group_avatar_media"
|
|
app:argType="org.thoughtcrime.securesms.mediasend.Media"
|
|
app:nullable="true" />
|
|
|
|
</action>
|
|
|
|
<action
|
|
android:id="@+id/action_manageProfileFragment_to_badgeManageFragment"
|
|
app:destination="@id/manage_badges"
|
|
app:enterAnim="@anim/nav_default_enter_anim"
|
|
app:exitAnim="@anim/nav_default_exit_anim"
|
|
app:popEnterAnim="@anim/nav_default_pop_enter_anim"
|
|
app:popExitAnim="@anim/nav_default_pop_exit_anim" />
|
|
<action
|
|
android:id="@+id/action_manageProfileFragment_to_shareUsernameDialog"
|
|
app:destination="@id/shareUsernameDialog" />
|
|
|
|
</fragment>
|
|
|
|
<fragment
|
|
android:id="@+id/usernameManageFragment"
|
|
android:name="org.thoughtcrime.securesms.profiles.manage.UsernameEditFragment"
|
|
android:label="fragment_manage_username"
|
|
tools:layout="@layout/username_edit_fragment" />
|
|
|
|
<fragment
|
|
android:id="@+id/profileNameManageFragment"
|
|
android:name="org.thoughtcrime.securesms.profiles.manage.EditProfileNameFragment"
|
|
android:label="fragment_manage_profile_name"
|
|
tools:layout="@layout/edit_profile_name_fragment" />
|
|
|
|
<fragment
|
|
android:id="@+id/aboutManageFragment"
|
|
android:name="org.thoughtcrime.securesms.profiles.manage.EditAboutFragment"
|
|
android:label="fragment_manage_about"
|
|
tools:layout="@layout/edit_about_fragment" />
|
|
|
|
<include app:graph="@navigation/manage_badges" />
|
|
|
|
<include app:graph="@navigation/avatar_picker" />
|
|
|
|
<dialog
|
|
android:id="@+id/shareUsernameDialog"
|
|
android:name="org.thoughtcrime.securesms.profiles.manage.UsernameShareBottomSheet"
|
|
android:label="fragment_username_share" />
|
|
|
|
</navigation> |