anotherim/src/main/res/layout/contact_key.xml

69 lines
2.5 KiB
XML
Raw Normal View History

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" >
<RelativeLayout
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"
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"
android:layout_alignParentLeft="true"
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"
android:layout_alignParentLeft="true"
android:layout_below="@+id/key"
android:maxLines="1"
2014-10-22 16:38:44 +00:00
android:textSize="?attr/TextSizeInfo"/>
<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"
android:layout_toRightOf="@+id/key"
2014-10-22 16:38:44 +00:00
android:layout_centerVertical="true"
android:background="?android:selectableItemBackground"
android:padding="@dimen/image_button_padding"
2015-01-22 04:00:35 +00:00
android:src="?attr/icon_remove"
android:visibility="gone" />
2014-10-22 16:38:44 +00:00
<eu.siacs.conversations.ui.widget.Switch
android:id="@+id/tgl_trust"
android:visibility="invisible"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
style="@style/MD"/>
</RelativeLayout>
2014-10-22 16:38:44 +00:00
</RelativeLayout>