Mercurial > 510Connectbot
comparison res/layout/act_hostlist.xml @ 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 | 0ce5cc452d02 |
children | 3e25a713555d |
comparison
equal
deleted
inserted
replaced
431:a0bff4b39512 | 432:56d1dbfa6972 |
---|---|
17 * limitations under the License. | 17 * limitations under the License. |
18 */ | 18 */ |
19 --> | 19 --> |
20 | 20 |
21 <RelativeLayout | 21 <RelativeLayout |
22 xmlns:android="http://schemas.android.com/apk/res/android" | 22 xmlns:android="http://schemas.android.com/apk/res/android" |
23 android:orientation="vertical" | 23 android:orientation="vertical" |
24 android:layout_width="fill_parent" | 24 android:layout_width="fill_parent" |
25 android:layout_height="fill_parent" | 25 android:layout_height="fill_parent" |
26 > | 26 > |
27 | 27 |
28 <Spinner | 28 <LinearLayout |
29 android:id="@+id/transport_selection" | 29 android:id="@+id/transport_box" |
30 android:layout_height="wrap_content" | 30 > |
31 android:layout_width="wrap_content" | |
32 android:layout_alignParentBottom="true" | |
33 android:layout_alignParentLeft="true" | |
34 /> | |
35 | 31 |
36 <EditText | 32 <Spinner |
37 android:id="@+id/front_quickconnect" | 33 android:id="@+id/transport_selection" |
38 android:layout_width="fill_parent" | 34 android:layout_height="wrap_content" |
39 android:layout_height="wrap_content" | 35 android:layout_width="wrap_content" |
40 android:hint="username@hostname:port" | 36 android:layout_alignParentBottom="true" |
41 android:layout_toRightOf="@+id/transport_selection" | 37 android:layout_alignParentLeft="true" |
42 android:layout_alignTop="@+id/transport_selection" | 38 /> |
43 android:inputType="textEmailAddress" | |
44 android:layout_alignBottom="@+id/transport_selection" | |
45 /> | |
46 | 39 |
47 <ListView | 40 <EditText |
48 android:id="@android:id/list" | 41 android:id="@+id/front_quickconnect" |
49 android:layout_width="fill_parent" | 42 android:layout_width="fill_parent" |
50 android:layout_height="fill_parent" | 43 android:layout_height="wrap_content" |
51 android:layout_above="@+id/transport_selection" | 44 android:hint="username@hostname:port" |
52 /> | 45 android:layout_toRightOf="@+id/transport_selection" |
46 android:layout_alignParentBottom="true" | |
47 android:inputType="textEmailAddress" | |
48 /> | |
49 </LinearLayout> | |
53 | 50 |
54 <TextView | 51 <ListView |
55 android:id="@android:id/empty" | 52 android:id="@android:id/list" |
56 android:layout_width="fill_parent" | 53 android:layout_width="fill_parent" |
57 android:layout_height="fill_parent" | 54 android:layout_height="fill_parent" |
58 android:text="@string/list_host_empty" | 55 android:layout_above="@+id/transport_box" |
59 android:textAppearance="?android:attr/textAppearanceMedium" | 56 /> |
60 android:gravity="center" | 57 |
61 android:layout_above="@+id/transport_selection" | 58 <TextView |
62 /> | 59 android:id="@android:id/empty" |
60 android:layout_width="fill_parent" | |
61 android:layout_height="fill_parent" | |
62 android:text="@string/list_host_empty" | |
63 android:textAppearance="?android:attr/textAppearanceMedium" | |
64 android:gravity="center" | |
65 android:layout_above="@+id/transport_box" | |
66 /> | |
63 | 67 |
64 </RelativeLayout> | 68 </RelativeLayout> |