mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-05-03 23:15:44 +01:00
Create a new manage profile screen.
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
|
||||
<fragment
|
||||
android:id="@+id/usernameEditFragment"
|
||||
android:name="org.thoughtcrime.securesms.usernames.username.UsernameEditFragment"
|
||||
android:name="org.thoughtcrime.securesms.profiles.manage.UsernameEditFragment"
|
||||
android:label="fragment_edit_username"
|
||||
tools:layout="@layout/username_edit_fragment" />
|
||||
|
||||
|
||||
44
app/src/main/res/navigation/manage_profile.xml
Normal file
44
app/src/main/res/navigation/manage_profile.xml
Normal file
@@ -0,0 +1,44 @@
|
||||
<?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/profile_create_fragment">
|
||||
|
||||
<action
|
||||
android:id="@+id/action_manageUsername"
|
||||
app:destination="@id/usernameManageFragment"
|
||||
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_manageProfileName"
|
||||
app:destination="@id/profileNameManageFragment"
|
||||
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" />
|
||||
|
||||
</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" />
|
||||
|
||||
</navigation>
|
||||
Reference in New Issue
Block a user