mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-25 19:29:54 +01:00
Add internal pre-alpha support for usernames.
This commit is contained in:
41
res/navigation/profile_edit.xml
Normal file
41
res/navigation/profile_edit.xml
Normal file
@@ -0,0 +1,41 @@
|
||||
<?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/profile_edit"
|
||||
app:startDestination="@id/profileEditOverviewFragment">
|
||||
|
||||
<fragment
|
||||
android:id="@+id/profileEditOverviewFragment"
|
||||
android:name="org.thoughtcrime.securesms.usernames.ProfileEditOverviewFragment"
|
||||
android:label="@string/ProfileEditOverviewFragment_profile">
|
||||
|
||||
<action
|
||||
android:id="@+id/action_profileEdit"
|
||||
app:destination="@id/profileEditNameFragment"
|
||||
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_usernameEdit"
|
||||
app:destination="@id/usernameEditFragment"
|
||||
app:enterAnim="@anim/slide_from_end"
|
||||
app:exitAnim="@anim/slide_to_start"
|
||||
app:popEnterAnim="@anim/slide_from_start"
|
||||
app:popExitAnim="@anim/slide_to_end" />
|
||||
|
||||
</fragment>
|
||||
|
||||
<fragment
|
||||
android:id="@+id/profileEditNameFragment"
|
||||
android:name="org.thoughtcrime.securesms.usernames.profile.ProfileEditNameFragment"
|
||||
android:label="@string/ProfileEditNameFragment_profile_name" />
|
||||
|
||||
<fragment
|
||||
android:id="@+id/usernameEditFragment"
|
||||
android:name="org.thoughtcrime.securesms.usernames.username.UsernameEditFragment"
|
||||
android:label="@string/UsernameEditFragment_username"
|
||||
tools:layout="@layout/username_edit_fragment" />
|
||||
</navigation>
|
||||
Reference in New Issue
Block a user