Add basic Android host application to the Android Accessory Host class driver demo.

This commit is contained in:
Dean Camera 2013-05-12 12:40:14 +02:00
parent 707934d9cb
commit 5a3baec455
39 changed files with 391 additions and 5 deletions

View file

@ -0,0 +1,20 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context=".MainActivity" >
<ToggleButton
android:id="@+id/toggleButton1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:text="Board LED"
android:onClick="changeLEDState"/>
</RelativeLayout>