form_boolean.xml

 1<?xml version="1.0" encoding="utf-8"?>
 2<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
 3              android:layout_width="match_parent"
 4              android:layout_height="match_parent"
 5              android:paddingTop="8dp"
 6              android:orientation="vertical">
 7    <CheckBox
 8        android:id="@+id/field"
 9        android:layout_width="match_parent"
10        android:layout_height="wrap_content"/>
11</LinearLayout>