diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-07-10 13:19:42 +0200 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-07-10 13:19:42 +0200 |
commit | e97b5244552c8da06b3311bccb831be30c9a641a (patch) | |
tree | 3d4fb00770465a7ec916cad05fef00eee8c15bd4 /res | |
parent | f8763015eb100568c69dfc89e8e25b4aa9b454e9 (diff) |
added create contact dialog
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/create_contact_dialog.xml | 37 | ||||
-rw-r--r-- | res/values/strings.xml | 8 |
2 files changed, 42 insertions, 3 deletions
diff --git a/res/layout/create_contact_dialog.xml b/res/layout/create_contact_dialog.xml new file mode 100644 index 00000000..45007ef2 --- /dev/null +++ b/res/layout/create_contact_dialog.xml @@ -0,0 +1,37 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical" + android:padding="16dp"> + + <TextView + android:id="@+id/your_account" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textSize="14sp" + android:textColor="@color/primarytext" + android:text="@string/your_account" /> + <Spinner + android:id="@+id/account" + android:layout_width="fill_parent" + android:layout_height="wrap_content" /> + + <TextView + android:id="@+id/jabber_id" + android:paddingTop="8dp" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textSize="14sp" + android:textColor="@color/primarytext" + android:text="@string/account_settings_jabber_id" /> + + <EditText + android:id="@+id/jid" + android:paddingTop="8dp" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:inputType="textEmailAddress" + android:hint="@string/account_settings_example_jabber_id" + /> +</LinearLayout> diff --git a/res/values/strings.xml b/res/values/strings.xml index 8d66125e..ebfaaa17 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -201,10 +201,10 @@ <string name="mgmt_account_account_offline">Account is offline</string> <string name="attach_record_voice">Record voice</string> <string name="account_settings">Account Settings</string> - <string name="account_settings_jabber_id">Jabber ID:</string> - <string name="account_settings_password">Password:</string> + <string name="account_settings_jabber_id">Jabber ID</string> + <string name="account_settings_password">Password</string> <string name="account_settings_example_jabber_id">username@example.com</string> - <string name="account_settings_confirm_password">Confirm password:</string> + <string name="account_settings_confirm_password">Confirm password</string> <string name="password">Password</string> <string name="confirm_password">Confirm password</string> <string name="passwords_do_not_match">Passwords do not match</string> @@ -261,4 +261,6 @@ <string name="create_conference">Create Conference</string> <string name="delete_contact">Delete Contact</string> <string name="view_contact_details">View contact details</string> + <string name="create">Create</string> + <string name="contact_already_exists">The contact already exists</string> </resources>
\ No newline at end of file |