aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/layout
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/res/layout')
-rw-r--r--src/main/res/layout/activity_magic_create.xml (renamed from src/main/res/layout/magic_create.xml)33
1 files changed, 26 insertions, 7 deletions
diff --git a/src/main/res/layout/magic_create.xml b/src/main/res/layout/activity_magic_create.xml
index 8d2b811f0..8eb312ace 100644
--- a/src/main/res/layout/magic_create.xml
+++ b/src/main/res/layout/activity_magic_create.xml
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
@@ -37,23 +39,40 @@
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:text="@string/pick_your_username"
- android:textAppearance="@style/TextAppearance.Conversations.Title" />
+ android:layout_marginTop="8dp"
+ android:text="@string/magic_create_text"
+ android:textAppearance="@style/TextAppearance.Conversations.Body1" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginTop="8dp"
- android:text="@string/magic_create_text"
- android:textAppearance="@style/TextAppearance.Conversations.Body1" />
+ android:text="@string/pick_your_username"
+ android:textAppearance="@style/TextAppearance.Conversations.Title" />
<EditText
android:id="@+id/username"
+ style="@style/Widget.Conversations.EditText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_gravity="center_horizontal"
+ android:imeOptions="actionNext"
+ android:inputType="text"
android:hint="@string/username_hint"
- android:inputType="textNoSuggestions" />
+ android:textColor="?attr/text_Color_Main" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/choose_your_server"
+ android:textAppearance="@style/TextAppearance.Conversations.Title" />
+
+ <Spinner
+ android:id="@+id/server"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_horizontal"
+ android:hint="@string/server_hint"
+ android:prompt="@string/server_hint"
+ android:spinnerMode="dialog" />
<TextView
android:id="@+id/full_jid"