1 <?xml version="1.0" encoding="utf-8"?> 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 android:id="@+id/servoRelay" android:layout_width="match_parent" 4 android:orientation="horizontal" android:layout_height="wrap_content"> 5 <LinearLayout android:layout_width="0dip" 6 android:layout_height="wrap_content" android:id="@+id/servos" 7 android:orientation="vertical" android:layout_weight="2"> 8 <include layout="@layout/servo" android:id="@+id/servo1" 9 android:layout_width="match_parent" android:layout_height="wrap_content" 10 android:layout_weight="0.7" /> 11 <include layout="@layout/servo" android:id="@+id/servo2" 12 android:layout_width="match_parent" android:layout_height="wrap_content" /> 13 <include layout="@layout/servo" android:id="@+id/servo3" 14 android:layout_width="match_parent" android:layout_height="wrap_content" /> 15 </LinearLayout> 16 <LinearLayout android:layout_height="wrap_content" 17 android:id="@+id/relays" android:orientation="vertical" 18 android:layout_width="0dip" android:layout_weight="1" android:padding="-10dip"> 19 <include android:id="@+id/relay1" layout="@layout/relaybutton" 20 android:layout_width="wrap_content" android:layout_height="wrap_content" /> 21 <include android:id="@+id/relay2" layout="@layout/relaybutton" 22 android:layout_width="wrap_content" android:layout_height="wrap_content" /> 23 </LinearLayout> 24 </LinearLayout> 25 26