Skip to content

Commit 33b9e4b

Browse files
alanvAndroid Git Automerger
authored andcommitted
am 7a6a6e7: Merge "Add switches to the Controls sample in ApiDemos" into lmp-dev
* commit '7a6a6e7a7efc289826cddb6b0af1e77289492702': Add switches to the Controls sample in ApiDemos
2 parents f4bf557 + 7a6a6e7 commit 33b9e4b

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

samples/ApiDemos/res/layout/controls_1.xml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,23 @@
4343
android:text="@string/controls_1_save" />
4444
</LinearLayout>
4545

46+
<LinearLayout
47+
android:layout_width="match_parent"
48+
android:layout_height="wrap_content"
49+
android:orientation="horizontal" >
50+
51+
<Switch
52+
android:layout_width="wrap_content"
53+
android:layout_height="wrap_content"
54+
android:text="@string/controls_1_save" />
55+
56+
<Switch
57+
android:layout_width="wrap_content"
58+
android:layout_height="wrap_content"
59+
android:enabled="false"
60+
android:text="@string/controls_1_save" />
61+
</LinearLayout>
62+
4663
<LinearLayout
4764
android:layout_width="match_parent"
4865
android:layout_height="wrap_content"

0 commit comments

Comments
 (0)