Changed TrustedCertificateAdapter for use with ListViews and TrustedCertificateEntry
[strongswan.git] / src / frontends / android / res / layout / trusted_certificates_item.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 Copyright (C) 2012 Tobias Brunner
4 Hochschule fuer Technik Rapperswil
5
6 This program is free software; you can redistribute it and/or modify it
7 under the terms of the GNU General Public License as published by the
8 Free Software Foundation; either version 2 of the License, or (at your
9 option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
10
11 This program is distributed in the hope that it will be useful, but
12 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 for more details.
15 -->
16 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
17 android:layout_width="match_parent"
18 android:layout_height="wrap_content"
19 android:minHeight="?android:attr/listPreferredItemHeight"
20 android:background="?android:attr/selectableItemBackground"
21 android:padding="10dp" >
22
23 <TextView android:id="@+id/subject_primary"
24 android:layout_width="match_parent"
25 android:layout_height="wrap_content"
26 android:textAppearance="?android:attr/textAppearanceMedium" />
27
28 <TextView android:id="@+id/subject_secondary"
29 android:layout_width="match_parent"
30 android:layout_height="wrap_content"
31 android:layout_below="@id/subject_primary"
32 android:layout_alignLeft="@id/subject_primary"
33 android:textAppearance="?android:attr/textAppearanceSmall"
34 android:textColor="?android:attr/textColorSecondary" />
35
36 </RelativeLayout>