Mercurial > 510Connectbot
comparison res/layout/item_pubkey.xml @ 0:0ce5cc452d02
initial version
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Thu, 22 May 2014 10:41:19 -0700 |
parents | |
children |
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 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 <ImageView | |
28 android:id="@android:id/icon1" | |
29 android:layout_width="wrap_content" | |
30 android:layout_height="wrap_content" | |
31 android:src="@drawable/pubkey" | |
32 android:contentDescription="@string/image_description_key_is_locked" | |
33 android:layout_alignParentRight="true" | |
34 android:layout_alignParentTop="true" | |
35 android:layout_marginLeft="10dip"/> | |
36 | |
37 <TextView | |
38 android:id="@android:id/text1" | |
39 android:layout_height="wrap_content" | |
40 android:textAppearance="?android:attr/textAppearanceLarge" | |
41 android:text="Key Example" | |
42 android:layout_alignParentLeft="true" | |
43 android:bufferType="normal" android:layout_width="wrap_content" android:layout_toLeftOf="@android:id/icon1"/> | |
44 | |
45 <TextView | |
46 android:id="@android:id/text2" | |
47 android:layout_width="wrap_content" | |
48 android:layout_height="wrap_content" | |
49 android:textAppearance="?android:attr/textAppearanceSmall" | |
50 android:text="DSA 1024-bit" | |
51 android:layout_below="@android:id/text1" | |
52 /> | |
53 | |
54 </RelativeLayout> |