89 lines
3.5 KiB
XML
89 lines
3.5 KiB
XML
<?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"
|
|
android:longClickable="true">
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/key_data"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentLeft="true"
|
|
android:paddingBottom="8dp"
|
|
android:paddingLeft="8dp"
|
|
android:paddingTop="8dp">
|
|
|
|
<TextView
|
|
android:id="@+id/key"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_toLeftOf="@+id/action_container"
|
|
android:fontFamily="monospace"
|
|
android:textColor="?attr/color_text_primary"
|
|
android:textSize="?attr/TextSizeBody"
|
|
android:typeface="monospace"
|
|
android:longClickable="true"
|
|
android:clickable="true"/>
|
|
|
|
<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"
|
|
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"
|
|
android:textSize="?attr/TextSizeInfo"
|
|
android:visibility="gone"
|
|
android:longClickable="true"/>
|
|
<LinearLayout
|
|
android:id="@+id/action_container"
|
|
android:layout_width="96dp"
|
|
android:layout_marginRight="-32dp"
|
|
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:layout_marginRight="16dp"
|
|
android:visibility="gone" />
|
|
|
|
<ImageView
|
|
android:visibility="gone"
|
|
android:id="@+id/verified_fingerprint"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
android:layout_marginRight="16dp"
|
|
android:src="@drawable/ic_verified_fingerprint" />
|
|
|
|
<eu.siacs.conversations.ui.widget.Switch
|
|
android:id="@+id/tgl_trust"
|
|
style="@style/MD"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:visibility="gone" />
|
|
</LinearLayout>
|
|
|
|
</RelativeLayout>
|
|
</RelativeLayout> |