diff options
Diffstat (limited to 'app/res/layout/relaybutton.xml')
-rw-r--r-- | app/res/layout/relaybutton.xml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/app/res/layout/relaybutton.xml b/app/res/layout/relaybutton.xml new file mode 100644 index 0000000..f6b8584 --- /dev/null +++ b/app/res/layout/relaybutton.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_height="wrap_content" android:orientation="vertical" + android:layout_width="wrap_content" android:layout_marginTop="-10dip"> + <TextView android:text="@string/relay1Label" style="@style/DemoKitControlLabel" + android:layout_width="match_parent" android:gravity="left" + android:layout_height="wrap_content"></TextView> + <ToggleButton style="@style/DemoKitRelayButton" + android:textOff="@string/off" android:textOn="@string/on" + android:layout_height="wrap_content" android:layout_width="match_parent"></ToggleButton> +</LinearLayout> + |