2014-10-22 16:38:44 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-02-18 18:09:36 +00:00
|
|
|
<layout xmlns:android="http://schemas.android.com/apk/res/android">
|
2014-10-22 16:38:44 +00:00
|
|
|
|
2015-07-09 12:26:19 +00:00
|
|
|
<RelativeLayout
|
2018-02-18 18:09:36 +00:00
|
|
|
android:layout_width="match_parent"
|
2014-10-22 16:38:44 +00:00
|
|
|
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
|
|
|
|
2018-02-18 18:09:36 +00:00
|
|
|
<LinearLayout
|
2014-10-22 16:38:44 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2015-07-09 12:26:19 +00:00
|
|
|
android:layout_alignParentLeft="true"
|
2018-02-18 18:09:36 +00:00
|
|
|
android:layout_centerVertical="true"
|
2016-11-15 19:00:52 +00:00
|
|
|
android:layout_toLeftOf="@+id/action_container"
|
2018-02-18 18:09:36 +00:00
|
|
|
android:orientation="vertical">
|
2014-10-22 16:38:44 +00:00
|
|
|
|
2018-02-18 18:09:36 +00:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/key"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
|
|
android:clickable="true"
|
|
|
|
android:fontFamily="monospace"
|
|
|
|
android:longClickable="true"
|
|
|
|
android:textColor="?attr/color_text_primary"
|
|
|
|
android:textSize="?attr/TextSizeBody"
|
|
|
|
android:typeface="monospace"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/key_type"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:clickable="true"
|
|
|
|
android:longClickable="true"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:textColor="?attr/color_text_secondary"
|
|
|
|
android:textSize="?attr/TextSizeInfo"/>
|
|
|
|
</LinearLayout>
|
2015-07-09 12:26:19 +00:00
|
|
|
|
2016-11-15 19:00:52 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/action_container"
|
2018-02-18 17:38:46 +00:00
|
|
|
android:layout_width="@dimen/key_action_width"
|
|
|
|
android:layout_height="48dp"
|
2016-11-15 19:00:52 +00:00
|
|
|
android:layout_alignParentRight="true"
|
2018-02-18 18:09:36 +00:00
|
|
|
android:layout_centerVertical="true"
|
2018-02-18 17:38:46 +00:00
|
|
|
android:gravity="center"
|
2018-02-18 18:09:36 +00:00
|
|
|
android:orientation="vertical">
|
|
|
|
|
2016-11-15 19:00:52 +00:00
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/button_remove"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:alpha="?attr/icon_alpha"
|
2018-02-18 17:38:46 +00:00
|
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
2016-11-15 19:00:52 +00:00
|
|
|
android:padding="@dimen/image_button_padding"
|
|
|
|
android:src="?attr/icon_remove"
|
2018-02-18 18:09:36 +00:00
|
|
|
android:visibility="gone"/>
|
|
|
|
|
2018-02-18 17:38:46 +00:00
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/button_enable_device"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:alpha="?attr/icon_alpha"
|
|
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
|
|
|
android:padding="@dimen/image_button_padding"
|
|
|
|
android:src="?attr/icon_enable_undecided_device"
|
2018-02-18 18:09:36 +00:00
|
|
|
android:visibility="gone"/>
|
2014-10-22 16:38:44 +00:00
|
|
|
|
2016-11-15 19:00:52 +00:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/verified_fingerprint"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2018-02-18 18:09:36 +00:00
|
|
|
android:src="@drawable/ic_verified_fingerprint"
|
|
|
|
android:visibility="gone"/>
|
2015-07-19 12:09:49 +00:00
|
|
|
|
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 18:09:36 +00:00
|
|
|
android:visibility="gone"/>
|
2016-11-15 19:00:52 +00:00
|
|
|
</LinearLayout>
|
2015-07-19 12:09:49 +00:00
|
|
|
|
|
|
|
</RelativeLayout>
|
2018-02-18 18:09:36 +00:00
|
|
|
</layout>
|