2014-10-22 18:38:44 +02: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" >
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_toLeftOf="@+id/button_remove"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:padding="8dp" >
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/key"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textColor="@color/primarytext"
|
|
|
|
android:textSize="?attr/TextSizeBody"
|
|
|
|
android:typeface="monospace" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/key_type"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textColor="@color/secondarytext"
|
|
|
|
android:textSize="?attr/TextSizeInfo"/>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/button_remove"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:background="?android:selectableItemBackground"
|
2015-04-28 14:46:52 +02:00
|
|
|
android:padding="@dimen/image_button_padding"
|
2015-01-22 05:00:35 +01:00
|
|
|
android:src="?attr/icon_remove"
|
2014-10-22 18:38:44 +02:00
|
|
|
android:visibility="invisible" />
|
|
|
|
|
|
|
|
</RelativeLayout>
|