Mercurial > 510Connectbot
comparison res/layout/act_hostlist.xml @ 0:0ce5cc452d02
initial version
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Thu, 22 May 2014 10:41:19 -0700 |
parents | |
children | 56d1dbfa6972 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:0ce5cc452d02 |
---|---|
1 <?xml version="1.0" encoding="utf-8"?> | |
2 <!-- | |
3 /* | |
4 * ConnectBot: simple, powerful, open-source SSH client for Android | |
5 * Copyright 2007 Kenny Root, Jeffrey Sharkey | |
6 * | |
7 * Licensed under the Apache License, Version 2.0 (the "License"); | |
8 * you may not use this file except in compliance with the License. | |
9 * You may obtain a copy of the License at | |
10 * | |
11 * http://www.apache.org/licenses/LICENSE-2.0 | |
12 * | |
13 * Unless required by applicable law or agreed to in writing, software | |
14 * distributed under the License is distributed on an "AS IS" BASIS, | |
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
16 * See the License for the specific language governing permissions and | |
17 * limitations under the License. | |
18 */ | |
19 --> | |
20 | |
21 <RelativeLayout | |
22 xmlns:android="http://schemas.android.com/apk/res/android" | |
23 android:orientation="vertical" | |
24 android:layout_width="fill_parent" | |
25 android:layout_height="fill_parent" | |
26 > | |
27 | |
28 <Spinner | |
29 android:id="@+id/transport_selection" | |
30 android:layout_height="wrap_content" | |
31 android:layout_width="wrap_content" | |
32 android:layout_alignParentBottom="true" | |
33 android:layout_alignParentLeft="true" | |
34 /> | |
35 | |
36 <EditText | |
37 android:id="@+id/front_quickconnect" | |
38 android:layout_width="fill_parent" | |
39 android:layout_height="wrap_content" | |
40 android:hint="username@hostname:port" | |
41 android:layout_toRightOf="@+id/transport_selection" | |
42 android:layout_alignTop="@+id/transport_selection" | |
43 android:inputType="textEmailAddress" | |
44 android:layout_alignBottom="@+id/transport_selection" | |
45 /> | |
46 | |
47 <ListView | |
48 android:id="@android:id/list" | |
49 android:layout_width="fill_parent" | |
50 android:layout_height="fill_parent" | |
51 android:layout_above="@+id/transport_selection" | |
52 /> | |
53 | |
54 <TextView | |
55 android:id="@android:id/empty" | |
56 android:layout_width="fill_parent" | |
57 android:layout_height="fill_parent" | |
58 android:text="@string/list_host_empty" | |
59 android:textAppearance="?android:attr/textAppearanceMedium" | |
60 android:gravity="center" | |
61 android:layout_above="@+id/transport_selection" | |
62 /> | |
63 | |
64 </RelativeLayout> |