From 3b79cc2f23617903dda1876f80fd295d45e9ba3b Mon Sep 17 00:00:00 2001 From: iNPUTmice Date: Tue, 19 Aug 2014 15:06:50 +0200 Subject: [PATCH] better error display and additional infos (stats) for the edit account activity --- res/layout/activity_edit_account.xml | 80 ++++++++- res/layout/server_info.xml | 157 ------------------ res/values/strings.xml | 3 + .../siacs/conversations/entities/Account.java | 156 ++++++++++------- .../services/XmppConnectionService.java | 12 +- .../conversations/ui/EditAccountActivity.java | 123 +++++++------- .../ui/ManageAccountActivity.java | 65 -------- .../ui/adapter/KnownHostsAdapter.java | 5 +- .../siacs/conversations/utils/UIHelper.java | 1 - .../conversations/xmpp/XmppConnection.java | 85 ++++++++-- .../xmpp/jingle/JingleConnection.java | 6 +- 11 files changed, 315 insertions(+), 378 deletions(-) delete mode 100644 res/layout/server_info.xml diff --git a/res/layout/activity_edit_account.xml b/res/layout/activity_edit_account.xml index 620a1f706..e4d9665af 100644 --- a/res/layout/activity_edit_account.xml +++ b/res/layout/activity_edit_account.xml @@ -5,6 +5,7 @@ android:background="@color/primarybackground" > + android:textColor="@color/primarytext" + android:textSize="14sp" /> + android:inputType="textEmailAddress" /> + android:textColor="@color/primarytext" + android:textSize="14sp" /> + android:textColor="@color/primarytext" + android:textSize="14sp" /> + + + + + + + + + + + + + + + + + + + + + + + android:layout_alignParentRight="true">