1 | <?xml version="1.0" encoding="utf-8"?> |
---|
2 | <!-- Copyright (C) 2011 The Android Open Source Project |
---|
3 | |
---|
4 | Licensed under the Apache License, Version 2.0 (the "License"); |
---|
5 | you may not use this file except in compliance with the License. |
---|
6 | You may obtain a copy of the License at |
---|
7 | |
---|
8 | http://www.apache.org/licenses/LICENSE-2.0 |
---|
9 | |
---|
10 | Unless required by applicable law or agreed to in writing, software |
---|
11 | distributed under the License is distributed on an "AS IS" BASIS, |
---|
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
---|
13 | See the License for the specific language governing permissions and |
---|
14 | limitations under the License. |
---|
15 | --> |
---|
16 | |
---|
17 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
---|
18 | android:layout_width="match_parent" |
---|
19 | android:layout_height="wrap_content" |
---|
20 | android:gravity="center_vertical" |
---|
21 | android:paddingRight="?android:attr/scrollbarSize" |
---|
22 | android:background="@drawable/background_item" |
---|
23 | android:padding="15dip" |
---|
24 | |
---|
25 | > |
---|
26 | <RelativeLayout |
---|
27 | android:layout_width="0px" |
---|
28 | android:layout_height="wrap_content" |
---|
29 | android:layout_weight="1" |
---|
30 | > |
---|
31 | <TextView |
---|
32 | android:id="@+id/cert_item_alias" |
---|
33 | android:layout_width="match_parent" |
---|
34 | android:layout_height="wrap_content" |
---|
35 | android:singleLine="true" |
---|
36 | style="@style/style_font_files" |
---|
37 | android:ellipsize="marquee" |
---|
38 | android:fadingEdge="horizontal" |
---|
39 | /> |
---|
40 | <TextView |
---|
41 | android:id="@+id/cert_item_subject" |
---|
42 | android:layout_width="match_parent" |
---|
43 | android:layout_height="wrap_content" |
---|
44 | android:layout_below="@id/cert_item_alias" |
---|
45 | android:layout_alignLeft="@id/cert_item_alias" |
---|
46 | style="@style/style_font_date" |
---|
47 | /> |
---|
48 | </RelativeLayout> |
---|
49 | |
---|
50 | |
---|
51 | <CheckBox |
---|
52 | android:id="@+id/cert_item_selected" |
---|
53 | android:layout_width="wrap_content" |
---|
54 | android:layout_height="wrap_content" |
---|
55 | android:gravity="center_vertical" |
---|
56 | android:clickable="false" |
---|
57 | android:focusable="false" |
---|
58 | android:layout_weight="0" |
---|
59 | |
---|
60 | /> |
---|
61 | |
---|
62 | |
---|
63 | <!-- |
---|
64 | <RadioButton |
---|
65 | android:id="@+id/cert_item_selected" |
---|
66 | android:layout_width="wrap_content" |
---|
67 | android:layout_height="wrap_content" |
---|
68 | android:gravity="center_vertical" |
---|
69 | android:clickable="false" |
---|
70 | android:focusable="false" |
---|
71 | android:layout_weight="0" |
---|
72 | /> --> |
---|
73 | </LinearLayout> |
---|