2014-10-22 16:38:44 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent" >
|
|
|
|
|
2015-07-09 12:26:19 +00:00
|
|
|
<RelativeLayout
|
2015-07-19 12:09:49 +00:00
|
|
|
android:id="@+id/key_data"
|
2014-10-22 16:38:44 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentLeft="true"
|
2015-08-08 12:09:02 +00:00
|
|
|
android:paddingTop="8dp"
|
|
|
|
android:paddingLeft="8dp"
|
|
|
|
android:paddingBottom="8dp">
|
2014-10-22 16:38:44 +00:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/key"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2015-07-13 10:55:13 +00:00
|
|
|
android:textColor="@color/black87"
|
2015-07-09 12:26:19 +00:00
|
|
|
android:layout_alignParentLeft="true"
|
2015-07-19 12:09:49 +00:00
|
|
|
android:layout_toLeftOf="@+id/tgl_trust"
|
2014-10-22 16:38:44 +00:00
|
|
|
android:textSize="?attr/TextSizeBody"
|
2015-07-20 13:43:28 +00:00
|
|
|
android:typeface="monospace"
|
|
|
|
android:fontFamily="monospace"/>
|
2014-10-22 16:38:44 +00:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/key_type"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2015-07-13 10:55:13 +00:00
|
|
|
android:textColor="@color/black54"
|
2015-07-09 12:26:19 +00:00
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_below="@+id/key"
|
2015-07-29 18:21:37 +00:00
|
|
|
android:maxLines="1"
|
2014-10-22 16:38:44 +00:00
|
|
|
android:textSize="?attr/TextSizeInfo"/>
|
2015-07-09 12:26:19 +00:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/key_trust"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_below="@+id/key"
|
|
|
|
android:visibility="gone"
|
|
|
|
android:textColor="@color/black54"
|
|
|
|
android:textSize="?attr/TextSizeInfo"/>
|
2014-10-22 16:38:44 +00:00
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/button_remove"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentRight="true"
|
2015-07-19 12:09:49 +00:00
|
|
|
android:layout_toRightOf="@+id/key"
|
2014-10-22 16:38:44 +00:00
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:background="?android:selectableItemBackground"
|
2015-04-28 12:46:52 +00:00
|
|
|
android:padding="@dimen/image_button_padding"
|
2015-01-22 04:00:35 +00:00
|
|
|
android:src="?attr/icon_remove"
|
2015-07-19 12:09:49 +00:00
|
|
|
android:visibility="gone" />
|
2014-10-22 16:38:44 +00:00
|
|
|
|
2015-07-19 12:09:49 +00:00
|
|
|
|
|
|
|
<eu.siacs.conversations.ui.widget.Switch
|
|
|
|
android:id="@+id/tgl_trust"
|
|
|
|
android:visibility="invisible"
|
2015-07-10 00:56:44 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_centerVertical="true"
|
2015-07-20 12:14:27 +00:00
|
|
|
style="@style/MD"/>
|
2015-07-19 12:09:49 +00:00
|
|
|
|
|
|
|
</RelativeLayout>
|
2014-10-22 16:38:44 +00:00
|
|
|
</RelativeLayout>
|