mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-04-23 01:18:30 +00:00
393 lines
No EOL
18 KiB
XML
393 lines
No EOL
18 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<navigation xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:id="@+id/main_nav_graph.xml"
|
|
app:startDestination="@id/dialerFragment">
|
|
|
|
<fragment
|
|
android:id="@+id/masterChatRoomsFragment"
|
|
android:name="org.linphone.activities.main.chat.fragments.MasterChatRoomsFragment"
|
|
android:label="MasterChatRoomsFragment"
|
|
tools:layout="@layout/chat_room_master_fragment" >
|
|
<action
|
|
android:id="@+id/action_masterChatRoomsFragment_to_dialerFragment"
|
|
app:destination="@id/dialerFragment"
|
|
app:popUpTo="@+id/dialerFragment"
|
|
app:popUpToInclusive="true" />
|
|
<action
|
|
android:id="@+id/action_masterChatRoomsFragment_to_masterCallLogsFragment"
|
|
app:destination="@id/masterCallLogsFragment"
|
|
app:popUpTo="@+id/masterCallLogsFragment"
|
|
app:popUpToInclusive="true" />
|
|
<action
|
|
android:id="@+id/action_masterChatRoomsFragment_to_masterContactsFragment"
|
|
app:destination="@id/masterContactsFragment"
|
|
app:popUpTo="@+id/masterContactsFragment"
|
|
app:popUpToInclusive="true" />
|
|
<action
|
|
android:id="@+id/action_masterChatRoomsFragment_to_detailChatRoomFragment"
|
|
app:destination="@id/chat_nav_graph.xml"
|
|
app:launchSingleTop="true" />
|
|
<action
|
|
android:id="@+id/action_masterChatRoomsFragment_to_chatRoomCreationFragment"
|
|
app:destination="@id/chatRoomCreationFragment" />
|
|
<argument
|
|
android:name="LocalSipUri"
|
|
app:argType="string"
|
|
app:nullable="true" />
|
|
<argument
|
|
android:name="RemoteSipUri"
|
|
app:argType="string"
|
|
app:nullable="true" />
|
|
<deepLink
|
|
android:id="@+id/chatsDeepLink"
|
|
app:uri="linphone-android://chat/"
|
|
android:autoVerify="true" />
|
|
</fragment>
|
|
<fragment
|
|
android:id="@+id/masterContactsFragment"
|
|
android:name="org.linphone.activities.main.contact.fragments.MasterContactsFragment"
|
|
android:label="MasterContactsFragment"
|
|
tools:layout="@layout/contact_master_fragment" >
|
|
<action
|
|
android:id="@+id/action_masterContactsFragment_to_masterCallLogsFragment"
|
|
app:destination="@id/masterCallLogsFragment"
|
|
app:popUpTo="@+id/masterCallLogsFragment"
|
|
app:popUpToInclusive="true" />
|
|
<action
|
|
android:id="@+id/action_masterContactsFragment_to_dialerFragment"
|
|
app:destination="@id/dialerFragment"
|
|
app:popUpTo="@+id/dialerFragment"
|
|
app:popUpToInclusive="true" />
|
|
<action
|
|
android:id="@+id/action_masterContactsFragment_to_masterChatRoomsFragment"
|
|
app:destination="@id/masterChatRoomsFragment"
|
|
app:popUpTo="@+id/masterChatRoomsFragment"
|
|
app:popUpToInclusive="true" />
|
|
<action
|
|
android:id="@+id/action_masterContactsFragment_to_detailContactFragment"
|
|
app:destination="@id/contacts_nav_graph.xml"
|
|
app:launchSingleTop="true" />
|
|
<action
|
|
android:id="@+id/action_masterContactsFragment_to_contactEditorFragment"
|
|
app:destination="@id/contactEditorFragment"
|
|
app:launchSingleTop="false" />
|
|
<argument
|
|
android:name="id"
|
|
app:argType="string"
|
|
app:nullable="true" />
|
|
<deepLink
|
|
android:id="@+id/contactDeepLink"
|
|
app:uri="linphone-android://contact/view/{id}"
|
|
android:autoVerify="true" />
|
|
<deepLink
|
|
android:id="@+id/friendDeepLink"
|
|
app:uri="linphone-android://contact/view-friend/{address}"
|
|
android:autoVerify="true" />
|
|
<deepLink
|
|
android:id="@+id/newContactDeepLink"
|
|
app:uri="linphone-android://contact/new/{sipUri}"
|
|
android:autoVerify="true" />
|
|
</fragment>
|
|
<include app:graph="@navigation/history_nav_graph" />
|
|
<fragment
|
|
android:id="@+id/masterCallLogsFragment"
|
|
android:name="org.linphone.activities.main.history.fragments.MasterCallLogsFragment"
|
|
android:label="MasterCallLogsFragment"
|
|
tools:layout="@layout/history_master_fragment" >
|
|
<action
|
|
android:id="@+id/action_masterCallLogsFragment_to_dialerFragment"
|
|
app:destination="@id/dialerFragment"
|
|
app:popUpTo="@+id/dialerFragment"
|
|
app:popUpToInclusive="true" />
|
|
<action
|
|
android:id="@+id/action_masterCallLogsFragment_to_masterContactsFragment"
|
|
app:destination="@id/masterContactsFragment"
|
|
app:popUpTo="@+id/masterContactsFragment"
|
|
app:popUpToInclusive="true" />
|
|
<action
|
|
android:id="@+id/action_masterCallLogsFragment_to_masterChatRoomsFragment"
|
|
app:destination="@id/masterChatRoomsFragment"
|
|
app:popUpTo="@+id/masterChatRoomsFragment"
|
|
app:popUpToInclusive="true" />
|
|
<action
|
|
android:id="@+id/action_masterCallLogsFragment_to_detailCallLogFragment"
|
|
app:destination="@id/history_nav_graph.xml" />
|
|
</fragment>
|
|
<fragment
|
|
android:id="@+id/dialerFragment"
|
|
android:name="org.linphone.activities.main.dialer.fragments.DialerFragment"
|
|
android:label="DialerFragment"
|
|
tools:layout="@layout/dialer_fragment" >
|
|
<action
|
|
android:id="@+id/action_dialerFragment_to_masterCallLogsFragment"
|
|
app:destination="@id/masterCallLogsFragment"
|
|
app:popUpTo="@id/masterCallLogsFragment"
|
|
app:popUpToInclusive="true"/>
|
|
<action
|
|
android:id="@+id/action_dialerFragment_to_masterContactsFragment"
|
|
app:destination="@id/masterContactsFragment"
|
|
app:popUpTo="@+id/masterContactsFragment"
|
|
app:popUpToInclusive="true" />
|
|
<action
|
|
android:id="@+id/action_dialerFragment_to_masterChatRoomsFragment"
|
|
app:destination="@id/masterChatRoomsFragment"
|
|
app:popUpTo="@+id/masterChatRoomsFragment"
|
|
app:popUpToInclusive="true" />
|
|
<argument
|
|
android:name="Transfer"
|
|
app:argType="boolean"
|
|
android:defaultValue="false" />
|
|
</fragment>
|
|
<fragment
|
|
android:id="@+id/contactEditorFragment"
|
|
android:name="org.linphone.activities.main.contact.fragments.ContactEditorFragment"
|
|
tools:layout="@layout/contact_editor_fragment"
|
|
android:label="ContactEditorFragment" >
|
|
<argument
|
|
android:name="SipUri"
|
|
app:argType="string"
|
|
app:nullable="true" />
|
|
</fragment>
|
|
<include app:graph="@navigation/chat_nav_graph" />
|
|
<include app:graph="@navigation/contacts_nav_graph" />
|
|
<fragment
|
|
android:id="@+id/chatRoomCreationFragment"
|
|
android:name="org.linphone.activities.main.chat.fragments.ChatRoomCreationFragment"
|
|
tools:layout="@layout/chat_room_creation_fragment"
|
|
android:label="ChatRoomCreationFragment">
|
|
<argument
|
|
android:name="createGroup"
|
|
app:argType="boolean"
|
|
android:defaultValue="false" />
|
|
<action
|
|
android:id="@+id/action_chatRoomCreationFragment_to_groupInfoFragment"
|
|
app:destination="@id/groupInfoFragment"
|
|
app:launchSingleTop="true"
|
|
app:popUpTo="@+id/groupInfoFragment"
|
|
app:popUpToInclusive="true" />
|
|
<action
|
|
android:id="@+id/action_chatRoomCreationFragment_to_detailChatRoomFragment"
|
|
app:destination="@id/chat_nav_graph.xml"
|
|
app:launchSingleTop="true"
|
|
app:popUpTo="@+id/masterChatRoomsFragment"
|
|
app:popUpToInclusive="false" />
|
|
</fragment>
|
|
<fragment
|
|
android:id="@+id/groupInfoFragment"
|
|
android:name="org.linphone.activities.main.chat.fragments.GroupInfoFragment"
|
|
tools:layout="@layout/chat_room_group_info_fragment"
|
|
android:label="GroupInfoFragment" >
|
|
<action
|
|
android:id="@+id/action_groupInfoFragment_to_detailChatRoomFragment"
|
|
app:destination="@id/chat_nav_graph.xml"
|
|
app:launchSingleTop="true"
|
|
app:popUpTo="@+id/masterChatRoomsFragment"
|
|
app:popUpToInclusive="false" />
|
|
<action
|
|
android:id="@+id/action_groupInfoFragment_to_chatRoomCreationFragment"
|
|
app:destination="@id/chatRoomCreationFragment"
|
|
app:launchSingleTop="true"
|
|
app:popUpTo="@+id/chatRoomCreationFragment"
|
|
app:popUpToInclusive="true" />
|
|
</fragment>
|
|
<fragment
|
|
android:id="@+id/aboutFragment"
|
|
android:name="org.linphone.activities.main.about.AboutFragment"
|
|
tools:layout="@layout/about_fragment"
|
|
android:label="AboutFragment" />
|
|
<action
|
|
android:id="@+id/action_global_aboutFragment"
|
|
app:destination="@id/aboutFragment"
|
|
app:launchSingleTop="true"
|
|
app:popUpTo="@+id/aboutFragment"
|
|
app:popUpToInclusive="true" />
|
|
<fragment
|
|
android:id="@+id/recordingsFragment"
|
|
android:name="org.linphone.activities.main.recordings.fragments.RecordingsFragment"
|
|
tools:layout="@layout/recordings_fragment"
|
|
android:label="RecordingsFragment" />
|
|
<action
|
|
android:id="@+id/action_global_recordingsFragment"
|
|
app:destination="@id/recordingsFragment"
|
|
app:launchSingleTop="true"
|
|
app:popUpTo="@+id/recordingsFragment"
|
|
app:popUpToInclusive="true" />
|
|
<fragment
|
|
android:id="@+id/settingsFragment"
|
|
android:name="org.linphone.activities.main.settings.fragments.SettingsFragment"
|
|
tools:layout="@layout/settings_fragment"
|
|
android:label="SettingsFragment" >
|
|
<action
|
|
android:id="@+id/action_SettingsFragment_to_"
|
|
app:destination="@id/settings_nav_graph.xml"
|
|
app:launchSingleTop="true" />
|
|
<action
|
|
android:id="@+id/action_settingsFragment_to_chatSettingsFragment"
|
|
app:destination="@id/chatSettingsFragment"
|
|
app:popUpTo="@+id/settingsFragment"
|
|
app:popUpToInclusive="false" />
|
|
<action
|
|
android:id="@+id/action_settingsFragment_to_callSettingsFragment"
|
|
app:destination="@id/callSettingsFragment"
|
|
app:popUpTo="@+id/settingsFragment"
|
|
app:popUpToInclusive="false" />
|
|
<action
|
|
android:id="@+id/action_settingsFragment_to_advancedSettingsFragment"
|
|
app:destination="@id/advancedSettingsFragment"
|
|
app:popUpTo="@+id/settingsFragment"
|
|
app:popUpToInclusive="false" />
|
|
<action
|
|
android:id="@+id/action_settingsFragment_to_accountSettingsFragment"
|
|
app:destination="@id/accountSettingsFragment"
|
|
app:launchSingleTop="true"
|
|
app:popUpTo="@+id/accountSettingsFragment"
|
|
app:popUpToInclusive="true" />
|
|
<action
|
|
android:id="@+id/action_settingsFragment_to_audioSettingsFragment"
|
|
app:destination="@id/audioSettingsFragment"
|
|
app:popUpTo="@+id/settingsFragment"
|
|
app:popUpToInclusive="false" />
|
|
<action
|
|
android:id="@+id/action_settingsFragment_to_contactsSettingsFragment"
|
|
app:destination="@id/contactsSettingsFragment"
|
|
app:popUpTo="@+id/settingsFragment"
|
|
app:popUpToInclusive="false" />
|
|
<action
|
|
android:id="@+id/action_settingsFragment_to_videoSettingsFragment"
|
|
app:destination="@id/videoSettingsFragment"
|
|
app:popUpTo="@+id/settingsFragment"
|
|
app:popUpToInclusive="false" />
|
|
<action
|
|
android:id="@+id/action_settingsFragment_to_networkSettingsFragment"
|
|
app:destination="@id/networkSettingsFragment"
|
|
app:popUpTo="@+id/settingsFragment"
|
|
app:popUpToInclusive="false" />
|
|
<action
|
|
android:id="@+id/action_settingsFragment_to_tunnelSettingsFragment"
|
|
app:destination="@id/tunnelSettingsFragment"
|
|
app:popUpTo="@+id/settingsFragment"
|
|
app:popUpToInclusive="false" />
|
|
<deepLink
|
|
android:id="@+id/settingsDeepLink"
|
|
app:uri="linphone-android://account-settings/{identity}"
|
|
android:autoVerify="true" />
|
|
</fragment>
|
|
<action
|
|
android:id="@+id/action_global_settingsFragment"
|
|
app:destination="@id/settingsFragment"
|
|
app:launchSingleTop="true"
|
|
app:popUpTo="@+id/settingsFragment"
|
|
app:popUpToInclusive="true" />
|
|
<include app:graph="@navigation/settings_nav_graph" />
|
|
<fragment
|
|
android:id="@+id/accountSettingsFragment"
|
|
android:name="org.linphone.activities.main.settings.fragments.AccountSettingsFragment"
|
|
tools:layout="@layout/settings_account_fragment"
|
|
android:label="AccountSettingsFragment" >
|
|
<argument
|
|
android:name="Identity"
|
|
app:argType="string" />
|
|
<action
|
|
android:id="@+id/action_accountSettingsFragment_to_phoneAccountLinkingFragment"
|
|
app:destination="@id/phoneAccountLinkingFragment" />
|
|
</fragment>
|
|
<fragment
|
|
android:id="@+id/advancedSettingsFragment"
|
|
android:name="org.linphone.activities.main.settings.fragments.AdvancedSettingsFragment"
|
|
tools:layout="@layout/settings_advanced_fragment"
|
|
android:label="AdvancedSettingsFragment" />
|
|
<fragment
|
|
android:id="@+id/audioSettingsFragment"
|
|
android:name="org.linphone.activities.main.settings.fragments.AudioSettingsFragment"
|
|
tools:layout="@layout/settings_audio_fragment"
|
|
android:label="AudioSettingsFragment" />
|
|
<fragment
|
|
android:id="@+id/callSettingsFragment"
|
|
android:name="org.linphone.activities.main.settings.fragments.CallSettingsFragment"
|
|
tools:layout="@layout/settings_call_fragment"
|
|
android:label="CallSettingsFragment" />
|
|
<fragment
|
|
android:id="@+id/chatSettingsFragment"
|
|
android:name="org.linphone.activities.main.settings.fragments.ChatSettingsFragment"
|
|
tools:layout="@layout/settings_chat_fragment"
|
|
android:label="ChatSettingsFragment" />
|
|
<fragment
|
|
android:id="@+id/contactsSettingsFragment"
|
|
android:name="org.linphone.activities.main.settings.fragments.ContactsSettingsFragment"
|
|
tools:layout="@layout/settings_contacts_fragment"
|
|
android:label="ContactsSettingsFragment" />
|
|
<fragment
|
|
android:id="@+id/networkSettingsFragment"
|
|
android:name="org.linphone.activities.main.settings.fragments.NetworkSettingsFragment"
|
|
tools:layout="@layout/settings_network_fragment"
|
|
android:label="NetworkSettingsFragment" />
|
|
<fragment
|
|
android:id="@+id/videoSettingsFragment"
|
|
android:name="org.linphone.activities.main.settings.fragments.VideoSettingsFragment"
|
|
tools:layout="@layout/settings_video_fragment"
|
|
android:label="VideoSettingsFragment" />
|
|
<fragment
|
|
android:id="@+id/tunnelSettingsFragment"
|
|
android:name="org.linphone.activities.main.settings.fragments.TunnelSettingsFragment"
|
|
tools:layout="@layout/settings_tunnel_fragment"
|
|
android:label="TunnelSettingsFragment" />
|
|
<action
|
|
android:id="@+id/action_global_masterChatRoomsFragment"
|
|
app:destination="@id/masterChatRoomsFragment"
|
|
app:launchSingleTop="true"
|
|
app:popUpTo="@+id/masterChatRoomsFragment"
|
|
app:popUpToInclusive="true" />
|
|
<action
|
|
android:id="@+id/action_global_dialerFragment"
|
|
app:destination="@id/dialerFragment"
|
|
app:launchSingleTop="true"
|
|
app:popUpTo="@+id/dialerFragment"
|
|
app:popUpToInclusive="true" />
|
|
<fragment
|
|
android:id="@+id/phoneAccountLinkingFragment"
|
|
tools:layout="@layout/assistant_phone_account_linking_fragment"
|
|
android:name="org.linphone.activities.assistant.fragments.PhoneAccountLinkingFragment"
|
|
android:label="PhoneAccountLinkingFragment" >
|
|
<action
|
|
android:id="@+id/action_phoneAccountLinkingFragment_to_phoneAccountValidationFragment"
|
|
app:destination="@id/phoneAccountValidationFragment" />
|
|
<argument
|
|
android:name="Username"
|
|
app:argType="string" />
|
|
<argument
|
|
android:name="Password"
|
|
app:argType="string"
|
|
app:nullable="true" />
|
|
<argument
|
|
android:name="HA1"
|
|
app:argType="string"
|
|
app:nullable="true" />
|
|
</fragment>
|
|
<fragment
|
|
android:id="@+id/phoneAccountValidationFragment"
|
|
tools:layout="@layout/assistant_phone_account_validation_fragment"
|
|
android:name="org.linphone.activities.assistant.fragments.PhoneAccountValidationFragment"
|
|
android:label="PhoneAccountValidationFragment" >
|
|
<action
|
|
android:id="@+id/action_phoneAccountValidationFragment_to_accountSettingsFragment"
|
|
app:destination="@id/accountSettingsFragment"
|
|
app:launchSingleTop="true"
|
|
app:popUpTo="@id/accountSettingsFragment"
|
|
app:popUpToInclusive="true" />
|
|
<argument
|
|
android:name="PhoneNumber"
|
|
app:argType="string" />
|
|
<argument
|
|
android:name="IsLogin"
|
|
app:argType="boolean" />
|
|
<argument
|
|
android:name="IsCreation"
|
|
app:argType="boolean" />
|
|
<argument
|
|
android:name="IsLinking"
|
|
app:argType="boolean" />
|
|
</fragment>
|
|
|
|
</navigation> |