From 32c3dd4f4ada85b48551bcf7e17eafb63857237f Mon Sep 17 00:00:00 2001 From: iNPUTmice Date: Fri, 15 Aug 2014 17:31:24 +0200 Subject: [PATCH] moved add/edit account from dialog into seperate activity --- AndroidManifest.xml | 22 +- res/layout/activity_edit_account.xml | 105 ++++++ res/values/strings.xml | 5 +- .../siacs/conversations/entities/Account.java | 7 +- .../conversations/generator/IqGenerator.java | 16 +- .../services/XmppConnectionService.java | 49 ++- .../conversations/ui/EditAccountActivity.java | 300 ++++++++++++++++++ .../conversations/ui/EditAccountDialog.java | 157 --------- .../ui/ManageAccountActivity.java | 50 +-- .../ui/PublishProfilePictureActivity.java | 11 - .../siacs/conversations/ui/XmppActivity.java | 48 +-- .../conversations/xmpp/XmppConnection.java | 5 - .../siacs/conversations/xmpp/pep/Avatar.java | 1 + 13 files changed, 521 insertions(+), 255 deletions(-) create mode 100644 res/layout/activity_edit_account.xml create mode 100644 src/eu/siacs/conversations/ui/EditAccountActivity.java delete mode 100644 src/eu/siacs/conversations/ui/EditAccountDialog.java diff --git a/AndroidManifest.xml b/AndroidManifest.xml index dc4df40e6..a10a9cc5f 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -54,8 +54,7 @@ android:name="eu.siacs.conversations.ui.StartConversationActivity" android:configChanges="orientation|screenSize" android:label="@string/title_activity_start_conversation" - android:logo="@drawable/ic_activity" - android:parentActivityName="eu.siacs.conversations.ui.ConversationActivity" > + android:logo="@drawable/ic_activity" > @@ -67,17 +66,20 @@ + android:label="@string/title_activity_settings" > - + + android:label="@string/title_activity_manage_accounts" > + + - @@ -115,4 +117,4 @@ - + \ No newline at end of file diff --git a/res/layout/activity_edit_account.xml b/res/layout/activity_edit_account.xml new file mode 100644 index 000000000..620a1f706 --- /dev/null +++ b/res/layout/activity_edit_account.xml @@ -0,0 +1,105 @@ + + + + + + + + + + + + + + + + + + + + + + +