<?xml version="1.0" encoding="utf-8"?> | |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
android:orientation="horizontal" | |
android:layout_width="fill_parent" | |
android:layout_height="match_parent"> | |
<android.support.v7.widget.SwitchCompat | |
android:id="@+id/neighborhood_switch" | |
android:layout_gravity="center_vertical" | |
android:layout_width="wrap_content" | |
android:layout_height="fill_parent" | |
android:theme="@style/SwitchCompat" /> | |
</RelativeLayout> |