diff options
-rw-r--r-- | app/src/main/res/layout/act_hostlist.xml | 43 |
1 files changed, 27 insertions, 16 deletions
diff --git a/app/src/main/res/layout/act_hostlist.xml b/app/src/main/res/layout/act_hostlist.xml index 80d1583..3c6f4b1 100644 --- a/app/src/main/res/layout/act_hostlist.xml +++ b/app/src/main/res/layout/act_hostlist.xml @@ -25,30 +25,41 @@ android:layout_height="fill_parent" > - <Spinner - android:id="@+id/transport_selection" + <RelativeLayout + android:id="@+id/quickconnect" + android:layout_width="fill_parent" android:layout_height="wrap_content" - android:layout_width="wrap_content" android:layout_alignParentBottom="true" android:layout_alignParentLeft="true" - /> + > + + <Spinner + android:id="@+id/transport_selection" + android:layout_height="wrap_content" + android:layout_width="wrap_content" + android:layout_alignParentLeft="true" + /> + + <EditText + android:id="@+id/front_quickconnect" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:hint="username@hostname:port" + android:layout_toRightOf="@+id/transport_selection" + android:layout_alignBaseline="@+id/transport_selection" + android:inputType="textEmailAddress" + android:maxLines="1" + android:ellipsize="end" + android:focusableInTouchMode="true" + android:singleLine="true"/> + </RelativeLayout> - <EditText - android:id="@+id/front_quickconnect" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:hint="username@hostname:port" - android:layout_toRightOf="@+id/transport_selection" - android:layout_alignTop="@+id/transport_selection" - android:inputType="textEmailAddress" - android:layout_alignBottom="@+id/transport_selection" - /> <ListView android:id="@android:id/list" android:layout_width="fill_parent" android:layout_height="fill_parent" - android:layout_above="@+id/transport_selection" + android:layout_above="@+id/quickconnect" /> <TextView @@ -58,7 +69,7 @@ android:text="@string/list_host_empty" android:textAppearance="?android:attr/textAppearanceMedium" android:gravity="center" - android:layout_above="@+id/transport_selection" + android:layout_above="@+id/quickconnect" /> </RelativeLayout> |