1<?xml version="1.0" encoding="utf-8"?> 2<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 android:layout_height="wrap_content" android:orientation="vertical" 4 android:layout_width="wrap_content" android:layout_marginTop="-10dip"> 5 <TextView android:text="@string/relay1Label" style="@style/DemoKitControlLabel" 6 android:layout_width="match_parent" android:gravity="left" 7 android:layout_height="wrap_content"></TextView> 8 <ToggleButton style="@style/DemoKitRelayButton" 9 android:textOff="@string/off" android:textOn="@string/on" 10 android:layout_height="wrap_content" android:layout_width="match_parent"></ToggleButton> 11</LinearLayout> 12 13