Mercurial > 510Connectbot
annotate app/src/main/res/layout/act_hostlist.xml @ 500:11d714165a2d
updates for android10+
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Tue, 07 Jun 2022 16:10:58 -0700 |
parents | d29cce60f393 |
children |
rev | line source |
---|---|
0 | 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 | |
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 | 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 | 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 | 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 | 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 | 72 |
73 </RelativeLayout> |