Mercurial > 510Connectbot
changeset 432:56d1dbfa6972
fix alignment problem on very high res screens
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Mon, 09 Mar 2015 15:44:11 -0700 |
parents | a0bff4b39512 |
children | 3e25a713555d |
files | AndroidManifest.xml res/layout/act_hostlist.xml |
diffstat | 2 files changed, 43 insertions(+), 39 deletions(-) [+] |
line wrap: on
line diff
--- a/AndroidManifest.xml Fri Dec 26 10:35:50 2014 -0800 +++ b/AndroidManifest.xml Mon Mar 09 15:44:11 2015 -0700 @@ -17,8 +17,8 @@ --> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.five_ten_sg.connectbot" - android:versionName="1.9.0-9" - android:versionCode="1909" + android:versionName="1.9.1-0" + android:versionCode="1910" android:installLocation="auto"> <uses-sdk android:targetSdkVersion="15" android:minSdkVersion="8" />
--- a/res/layout/act_hostlist.xml Fri Dec 26 10:35:50 2014 -0800 +++ b/res/layout/act_hostlist.xml Mon Mar 09 15:44:11 2015 -0700 @@ -19,46 +19,50 @@ --> <RelativeLayout - xmlns:android="http://schemas.android.com/apk/res/android" - android:orientation="vertical" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - > + xmlns:android="http://schemas.android.com/apk/res/android" + android:orientation="vertical" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + > - <Spinner - android:id="@+id/transport_selection" - android:layout_height="wrap_content" - android:layout_width="wrap_content" - android:layout_alignParentBottom="true" - android:layout_alignParentLeft="true" - /> + <LinearLayout + android:id="@+id/transport_box" + > + + <Spinner + android:id="@+id/transport_selection" + android:layout_height="wrap_content" + android:layout_width="wrap_content" + android:layout_alignParentBottom="true" + 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_alignTop="@+id/transport_selection" - android:inputType="textEmailAddress" - android:layout_alignBottom="@+id/transport_selection" - /> + <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_alignParentBottom="true" + android:inputType="textEmailAddress" + /> + </LinearLayout> - <ListView - android:id="@android:id/list" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:layout_above="@+id/transport_selection" - /> + <ListView + android:id="@android:id/list" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:layout_above="@+id/transport_box" + /> - <TextView - android:id="@android:id/empty" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:text="@string/list_host_empty" - android:textAppearance="?android:attr/textAppearanceMedium" - android:gravity="center" - android:layout_above="@+id/transport_selection" - /> + <TextView + android:id="@android:id/empty" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:text="@string/list_host_empty" + android:textAppearance="?android:attr/textAppearanceMedium" + android:gravity="center" + android:layout_above="@+id/transport_box" + /> </RelativeLayout>