63 lines
2.1 KiB
XML
63 lines
2.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:orientation="horizontal"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_vertical"
|
|
android:padding="16dp">
|
|
|
|
<LinearLayout
|
|
android:orientation="vertical"
|
|
android:layout_width="0dip"
|
|
android:layout_weight="1"
|
|
android:paddingLeft="8dp"
|
|
android:paddingRight="8dp"
|
|
android:layout_height="wrap_content">
|
|
|
|
<!-- simple name -->
|
|
<TextView
|
|
android:id="@android:id/text1"
|
|
style="?android:textAppearanceMedium"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<!-- service info -->
|
|
<TextView
|
|
android:id="@android:id/text2"
|
|
style="?android:textAppearanceSmall"
|
|
android:visibility="gone"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
|
|
</LinearLayout>
|
|
|
|
<ImageView
|
|
android:id="@android:id/button2"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:focusable="false"
|
|
android:clickable="false"
|
|
android:tintMode="src_in"
|
|
android:tint="@color/primary_text_default_material_dark"
|
|
android:background="?android:selectableItemBackground"
|
|
android:visibility="gone"
|
|
android:src="@drawable/info" />
|
|
|
|
<ImageView
|
|
android:id="@android:id/button1"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:focusable="false"
|
|
android:clickable="false"
|
|
android:tintMode="src_in"
|
|
android:tint="@color/primary_text_default_material_dark"
|
|
android:background="?android:selectableItemBackground"
|
|
android:src="@drawable/settings" />
|
|
|
|
<CheckBox
|
|
android:id="@+id/enabled"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
</LinearLayout>
|