Merge "Add switches to the Controls sample in ApiDemos" into lmp-dev

This commit is contained in:
Alan Viverette
2014-07-30 00:27:58 +00:00
committed by Android (Google) Code Review

View File

@@ -43,6 +43,23 @@
android:text="@string/controls_1_save" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal" >
<Switch
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/controls_1_save" />
<Switch
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:enabled="false"
android:text="@string/controls_1_save" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"