1 <?xml version="1.0" encoding="utf-8"?> 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/ButtonContainer" 3 android:paddingLeft="5dip" android:layout_width="fill_parent" 4 android:orientation="vertical" android:layout_height="wrap_content" > 5 <TextView android:text="Buttons" android:id="@+id/lightPercentValue" 6 style="@style/DemoKitControlLabel" android:layout_weight="1" 7 android:layout_height="wrap_content" android:layout_width="wrap_content" 8 android:gravity="center|top"></TextView> 9 <LinearLayout android:id="@+id/ButtonContainer" 10 android:layout_width="fill_parent" android:orientation="horizontal" 11 android:layout_weight="1" android:layout_marginTop="5dip" 12 android:layout_height="wrap_content" android:layout_gravity="center_vertical"> 13 <ImageButton android:background="@null" android:id="@+id/Button1" 14 style="@style/DemoKitButtonDisplay" android:src="@drawable/indicator_button1_off_noglow"></ImageButton> 15 <ImageButton android:background="@null" android:id="@+id/Button2" 16 style="@style/DemoKitButtonDisplay" android:src="@drawable/indicator_button2_off_noglow"></ImageButton> 17 <ImageButton android:background="@null" android:id="@+id/Button3" 18 style="@style/DemoKitButtonDisplay" android:src="@drawable/indicator_button3_off_noglow"></ImageButton> 19 <ImageButton android:background="@null" android:id="@+id/Button4" 20 style="@style/DemoKitButtonDisplay" android:src="@drawable/indicator_button_capacitive_off_noglow"></ImageButton> 21 </LinearLayout> 22 </LinearLayout> 23 24