diff options
author | Jeremy Klein <jlklein@google.com> | 2015-07-13 13:39:32 -0700 |
---|---|---|
committer | Jeremy Klein <jlklein@google.com> | 2015-07-13 13:54:58 -0700 |
commit | d416c2e09d12af01a58c11b2b85399f529fd9ce5 (patch) | |
tree | 12534f808e6903a548768908a949c62fb7e29f78 | |
parent | 74508ed00b32ec56c6d83d70a831cabd31141670 (diff) | |
download | connectbot-d416c2e09d12af01a58c11b2b85399f529fd9ce5.tar.gz connectbot-d416c2e09d12af01a58c11b2b85399f529fd9ce5.tar.bz2 connectbot-d416c2e09d12af01a58c11b2b85399f529fd9ce5.zip |
Switch the quick connect entry in the hostlist to a LinearLayout.
This fixes a bug in landscape where the input is not visible at all.
See
http://stackoverflow.com/questions/23982098/android-relativelayout-layout-above-appears-to-behave-incorrectly-with-layout-a.
-rw-r--r-- | res/layout/act_hostlist.xml | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/res/layout/act_hostlist.xml b/res/layout/act_hostlist.xml index 3c6f4b1..3d46068 100644 --- a/res/layout/act_hostlist.xml +++ b/res/layout/act_hostlist.xml @@ -25,8 +25,9 @@ android:layout_height="fill_parent" > - <RelativeLayout + <LinearLayout android:id="@+id/quickconnect" + android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true" @@ -37,7 +38,6 @@ android:id="@+id/transport_selection" android:layout_height="wrap_content" android:layout_width="wrap_content" - android:layout_alignParentLeft="true" /> <EditText @@ -45,14 +45,12 @@ 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> + </LinearLayout> <ListView |