2014-03-06 20:00:46 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2014-09-07 23:08:40 +02:00
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent" >
|
|
|
|
|
|
|
|
<LinearLayout
|
2014-03-06 20:00:46 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2014-09-07 23:08:40 +02:00
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_toLeftOf="@+id/button_remove"
|
2014-03-06 20:00:46 +01:00
|
|
|
android:orientation="vertical"
|
|
|
|
android:padding="8dp" >
|
|
|
|
|
2014-09-07 23:08:40 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/key"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textColor="@color/primarytext"
|
2014-09-08 23:58:37 +02:00
|
|
|
android:textSize="?attr/TextSizeHeadline"
|
2014-09-07 23:08:40 +02:00
|
|
|
android:typeface="monospace" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/key_type"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textColor="@color/secondarytext" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/button_remove"
|
2014-03-06 20:00:46 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2014-09-07 23:08:40 +02:00
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:background="?android:selectableItemBackground"
|
2014-09-11 16:22:33 +02:00
|
|
|
android:padding="8dp"
|
2014-09-07 23:08:40 +02:00
|
|
|
android:src="@drawable/ic_action_remove"
|
2014-09-11 16:22:33 +02:00
|
|
|
android:visibility="invisible" />
|
2014-09-07 23:08:40 +02:00
|
|
|
|
|
|
|
</RelativeLayout>
|