34 lines
1.2 KiB
XML
34 lines
1.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:id="@+id/item_name"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:background="@android:color/transparent"
|
|
android:paddingBottom="8dp"
|
|
android:paddingLeft="6dp"
|
|
android:paddingRight="6dp"
|
|
android:paddingTop="8dp"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
android:textColor="?attr/colorAccent"
|
|
android:textStyle="bold" />
|
|
|
|
<ImageView
|
|
android:id="@+id/item_select"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
|
android:clickable="true"
|
|
android:paddingLeft="10dp"
|
|
android:paddingRight="10dp"
|
|
android:paddingTop="10dp"
|
|
app:srcCompat="?attr/select_server" />
|
|
</LinearLayout>
|