comparison app/src/main/res/layout-port/item_host.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-port/item_host.xml@0ce5cc452d02
children
comparison
equal deleted inserted replaced
437:208b31032318 438:d29cce60f393
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 xmlns:android="http://schemas.android.com/apk/res/android"
22 android:id="@android:id/content"
23 android:layout_width="fill_parent"
24 android:layout_height="wrap_content"
25 android:padding="10dip"
26 >
27
28 <ImageView
29 android:id="@android:id/icon"
30 android:src="@drawable/connected"
31 android:layout_width="wrap_content"
32 android:layout_height="wrap_content"
33 android:layout_alignParentRight="true"
34 android:paddingTop="5dip"
35 android:contentDescription="@string/image_description_connected"
36 />
37
38 <TextView
39 android:id="@android:id/text1"
40 android:layout_width="wrap_content"
41 android:layout_height="wrap_content"
42 android:paddingRight="20dip"
43 android:singleLine="true"
44 android:ellipsize="end"
45 android:textAppearance="?android:attr/textAppearanceLarge"
46 />
47
48 <TextView
49 android:id="@android:id/text2"
50 android:layout_width="wrap_content"
51 android:layout_height="wrap_content"
52 android:textAppearance="?android:attr/textAppearanceSmall"
53 android:layout_below="@android:id/text1"
54 />
55
56
57 </RelativeLayout>