, , Google IO, CheckBoxPreference, , , , Lollipop CheckedTextView.
backgroundselectablebordeless, .
?
EDIT:
framelayout checktextview onClickListener frameelayout, checkcheview . framelayout checkedtextview :
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="56dp"
android:layout_marginEnd="8dp"
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
android:layout_marginStart="8dp">
<FrameLayout
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_alignParentBottom="true"
android:layout_marginTop="8dp"
android:background="@color/md_divider" />
<android.support.v7.widget.SwitchCompat
android:id="@+id/switchWidget"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_alignParentEnd="true"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:padding="16dp"
android:text="Switch Widget Title"
android:textAppearance="@style/TextAppearance.AppCompat.Inverse"
android:textColor="@color/md_text"
android:textSize="16sp" />
<FrameLayout
android:id="@+id/frameLayoutSwitch"
android:clickable="true"
android:background="?attr/selectableItemBackground"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</RelativeLayout>