open-keychain/OpenKeychain/src/main/res/layout/select_key_item.xml

63 lines
2.2 KiB
XML
Raw Normal View History

2010-04-06 15:54:51 -04:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2014-01-12 18:39:51 -05:00
android:layout_width="match_parent"
2014-04-11 10:00:37 -04:00
android:layout_height="wrap_content"
android:minHeight="?android:attr/listPreferredItemHeight"
android:paddingLeft="4dp"
2010-04-06 15:54:51 -04:00
android:paddingRight="?android:attr/scrollbarSize"
2014-04-11 10:00:37 -04:00
android:singleLine="true">
2010-04-06 15:54:51 -04:00
<CheckBox
android:id="@+id/selected"
android:layout_width="wrap_content"
2014-04-11 10:00:37 -04:00
android:layout_height="match_parent"
android:clickable="false"
android:focusable="false"
android:focusableInTouchMode="false" />
2010-04-06 15:54:51 -04:00
<LinearLayout
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
android:orientation="vertical"
2014-04-11 10:00:37 -04:00
android:paddingLeft="5dip"
android:layout_gravity="center_vertical">
2010-04-06 15:54:51 -04:00
<TextView
android:id="@+id/mainUserId"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2014-04-11 10:00:37 -04:00
android:text="Alice"
android:textAppearance="?android:attr/textAppearanceMedium" />
2010-04-06 15:54:51 -04:00
<TextView
android:id="@+id/mainUserIdRest"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2014-04-11 10:00:37 -04:00
android:text="alice@example.com"
android:textAppearance="?android:attr/textAppearanceSmall" />
2010-04-06 15:54:51 -04:00
<TextView
android:id="@+id/keyId"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2014-04-11 10:00:37 -04:00
android:text="0xBBBBBBBBBBBBBBB"
android:textAppearance="?android:attr/textAppearanceSmall"
2014-04-11 10:00:37 -04:00
android:typeface="monospace" />
</LinearLayout>
2014-04-11 10:00:37 -04:00
<TextView
android:gravity="right"
android:paddingLeft="4dp"
android:minWidth="90dip"
android:id="@+id/status"
android:paddingTop="4dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="expired"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textStyle="italic"
android:layout_gravity="right" />
</LinearLayout>