conversations-classic/src/main/res/layout/contact_key.xml

85 lines
3.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"
2016-11-15 19:00:52 +00:00
android:layout_height="match_parent"
android:longClickable="true">
2014-10-22 16:38:44 +00:00
<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"
2018-02-18 14:17:11 +00:00
android:padding="@dimen/list_padding">
2014-10-22 16:38:44 +00:00
<TextView
android:id="@+id/key"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
2016-11-15 19:00:52 +00:00
android:layout_toLeftOf="@+id/action_container"
android:fontFamily="monospace"
android:textColor="?attr/color_text_primary"
2014-10-22 16:38:44 +00:00
android:textSize="?attr/TextSizeBody"
2015-07-20 13:43:28 +00:00
android:typeface="monospace"
android:longClickable="true"
android:clickable="true"/>
2014-10-22 16:38:44 +00:00
<TextView
android:id="@+id/key_type"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_below="@+id/key"
android:maxLines="1"
2016-11-15 19:00:52 +00:00
android:textColor="?attr/color_text_secondary"
android:textSize="?attr/TextSizeInfo"
android:longClickable="true"
android:clickable="true"/>
<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:textColor="?attr/color_text_secondary"
2016-11-15 19:00:52 +00:00
android:textSize="?attr/TextSizeInfo"
android:visibility="gone"
android:longClickable="true"/>
<LinearLayout
android:id="@+id/action_container"
2018-02-18 14:17:11 +00:00
android:layout_width="wrap_content"
2016-11-15 19:00:52 +00:00
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_alignParentRight="true"
android:layout_centerVertical="true">
<ImageButton
android:layout_gravity="center_horizontal"
android:id="@+id/button_remove"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:alpha="?attr/icon_alpha"
android:background="?android:selectableItemBackground"
android:padding="@dimen/image_button_padding"
android:src="?attr/icon_remove"
android:visibility="gone" />
2014-10-22 16:38:44 +00:00
2016-11-15 19:00:52 +00:00
<ImageView
android:visibility="gone"
android:id="@+id/verified_fingerprint"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
2018-02-18 14:17:11 +00:00
android:padding="@dimen/image_button_padding"
2016-11-15 19:00:52 +00:00
android:src="@drawable/ic_verified_fingerprint" />
2018-02-17 10:18:23 +00:00
<android.support.v7.widget.SwitchCompat
2016-11-15 19:00:52 +00:00
android:id="@+id/tgl_trust"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2018-02-18 14:17:11 +00:00
android:layout_gravity="center_horizontal"
2016-11-15 19:00:52 +00:00
android:visibility="gone" />
</LinearLayout>
</RelativeLayout>
2014-10-22 16:38:44 +00:00
</RelativeLayout>