annotate app/src/main/res/layout/act_hostlist.xml @ 438:d29cce60f393

migrate from Eclipse to Android Studio
author Carl Byington <carl@five-ten-sg.com>
date Thu, 03 Dec 2015 11:23:55 -0800
parents res/layout/act_hostlist.xml@3e25a713555d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
1 <?xml version="1.0" encoding="utf-8"?>
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
2 <!--
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
3 /*
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
4 * ConnectBot: simple, powerful, open-source SSH client for Android
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
5 * Copyright 2007 Kenny Root, Jeffrey Sharkey
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
6 *
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
7 * Licensed under the Apache License, Version 2.0 (the "License");
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
8 * you may not use this file except in compliance with the License.
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
9 * You may obtain a copy of the License at
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
10 *
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
11 * http://www.apache.org/licenses/LICENSE-2.0
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
12 *
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
13 * Unless required by applicable law or agreed to in writing, software
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
14 * distributed under the License is distributed on an "AS IS" BASIS,
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
16 * See the License for the specific language governing permissions and
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
17 * limitations under the License.
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
18 */
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
19 -->
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
20
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
21 <RelativeLayout
432
56d1dbfa6972 fix alignment problem on very high res screens
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
22 xmlns:android="http://schemas.android.com/apk/res/android"
56d1dbfa6972 fix alignment problem on very high res screens
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
23 android:orientation="vertical"
56d1dbfa6972 fix alignment problem on very high res screens
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
24 android:layout_width="fill_parent"
56d1dbfa6972 fix alignment problem on very high res screens
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
25 android:layout_height="fill_parent"
56d1dbfa6972 fix alignment problem on very high res screens
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
26 >
0
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
27
432
56d1dbfa6972 fix alignment problem on very high res screens
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
28 <LinearLayout
56d1dbfa6972 fix alignment problem on very high res screens
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
29 android:id="@+id/transport_box"
433
3e25a713555d fix alignment problem on very high res screens
Carl Byington <carl@five-ten-sg.com>
parents: 432
diff changeset
30 android:orientation="horizontal"
3e25a713555d fix alignment problem on very high res screens
Carl Byington <carl@five-ten-sg.com>
parents: 432
diff changeset
31 android:layout_width="fill_parent"
3e25a713555d fix alignment problem on very high res screens
Carl Byington <carl@five-ten-sg.com>
parents: 432
diff changeset
32 android:layout_height="wrap_content"
3e25a713555d fix alignment problem on very high res screens
Carl Byington <carl@five-ten-sg.com>
parents: 432
diff changeset
33 android:layout_alignParentBottom="true"
3e25a713555d fix alignment problem on very high res screens
Carl Byington <carl@five-ten-sg.com>
parents: 432
diff changeset
34 android:layout_alignParentLeft="true"
432
56d1dbfa6972 fix alignment problem on very high res screens
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
35 >
56d1dbfa6972 fix alignment problem on very high res screens
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
36
56d1dbfa6972 fix alignment problem on very high res screens
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
37 <Spinner
56d1dbfa6972 fix alignment problem on very high res screens
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
38 android:id="@+id/transport_selection"
433
3e25a713555d fix alignment problem on very high res screens
Carl Byington <carl@five-ten-sg.com>
parents: 432
diff changeset
39 android:layout_width="wrap_content"
432
56d1dbfa6972 fix alignment problem on very high res screens
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
40 android:layout_height="wrap_content"
56d1dbfa6972 fix alignment problem on very high res screens
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
41 android:layout_alignParentBottom="true"
56d1dbfa6972 fix alignment problem on very high res screens
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
42 android:layout_alignParentLeft="true"
56d1dbfa6972 fix alignment problem on very high res screens
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
43 />
0
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
44
432
56d1dbfa6972 fix alignment problem on very high res screens
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
45 <EditText
56d1dbfa6972 fix alignment problem on very high res screens
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
46 android:id="@+id/front_quickconnect"
56d1dbfa6972 fix alignment problem on very high res screens
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
47 android:layout_width="fill_parent"
56d1dbfa6972 fix alignment problem on very high res screens
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
48 android:layout_height="wrap_content"
56d1dbfa6972 fix alignment problem on very high res screens
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
49 android:hint="username@hostname:port"
56d1dbfa6972 fix alignment problem on very high res screens
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
50 android:layout_toRightOf="@+id/transport_selection"
56d1dbfa6972 fix alignment problem on very high res screens
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
51 android:layout_alignParentBottom="true"
56d1dbfa6972 fix alignment problem on very high res screens
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
52 android:inputType="textEmailAddress"
56d1dbfa6972 fix alignment problem on very high res screens
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
53 />
56d1dbfa6972 fix alignment problem on very high res screens
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
54 </LinearLayout>
0
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
55
432
56d1dbfa6972 fix alignment problem on very high res screens
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
56 <ListView
56d1dbfa6972 fix alignment problem on very high res screens
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
57 android:id="@android:id/list"
56d1dbfa6972 fix alignment problem on very high res screens
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
58 android:layout_width="fill_parent"
56d1dbfa6972 fix alignment problem on very high res screens
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
59 android:layout_height="fill_parent"
56d1dbfa6972 fix alignment problem on very high res screens
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
60 android:layout_above="@+id/transport_box"
56d1dbfa6972 fix alignment problem on very high res screens
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
61 />
0
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
62
432
56d1dbfa6972 fix alignment problem on very high res screens
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
63 <TextView
56d1dbfa6972 fix alignment problem on very high res screens
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
64 android:id="@android:id/empty"
56d1dbfa6972 fix alignment problem on very high res screens
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
65 android:layout_width="fill_parent"
56d1dbfa6972 fix alignment problem on very high res screens
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
66 android:layout_height="fill_parent"
56d1dbfa6972 fix alignment problem on very high res screens
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
67 android:text="@string/list_host_empty"
56d1dbfa6972 fix alignment problem on very high res screens
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
68 android:textAppearance="?android:attr/textAppearanceMedium"
56d1dbfa6972 fix alignment problem on very high res screens
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
69 android:gravity="center"
56d1dbfa6972 fix alignment problem on very high res screens
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
70 android:layout_above="@+id/transport_box"
56d1dbfa6972 fix alignment problem on very high res screens
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
71 />
0
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
72
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
73 </RelativeLayout>