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

65 lines
2.4 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:padding="8dp" >
<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"
android:typeface="monospace" />
<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"
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/MaterialDesignButton"/>
</RelativeLayout>
2014-10-22 16:38:44 +00:00
</RelativeLayout>