1 <?xml version="1.0" encoding="utf-8"?> 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 android:layout_width="match_parent" android:layout_height="match_parent" 4 android:orientation="vertical" android:background="@drawable/background_holo_dark"> 5 <LinearLayout android:id="@+id/InOutTabContainer" 6 android:layout_width="fill_parent" android:orientation="horizontal" 7 android:layout_height="48dip"> 8 <TextView android:layout_width="wrap_content" android:id="@+id/inputLabel" 9 android:text="@string/input" style="@style/DemoKitTextBase" 10 android:gravity="center" android:layout_weight="1" 11 android:background="@drawable/tab_focused_holo_dark" 12 android:clickable="true" android:layout_gravity="center" 13 android:layout_height="match_parent"></TextView> 14 <TextView android:text="@string/output" android:id="@+id/outputLabel" 15 android:layout_width="wrap_content" android:layout_height="match_parent" 16 style="@style/DemoKitTextBase" android:gravity="center" 17 android:layout_weight="1" android:layout_gravity="center" 18 android:clickable="true"></TextView> 19 </LinearLayout> 20 <FrameLayout android:layout_width="match_parent" 21 android:layout_height="wrap_content" android:orientation="vertical" 22 android:paddingLeft="10dip" android:paddingRight="10dip"> 23 <include layout="@layout/inputcontainer" android:id="@+id/inputContainer" 24 android:layout_width="match_parent" android:layout_height="wrap_content" /> 25 <include layout="@layout/outputcontainer" android:id="@+id/outputContainer" 26 android:layout_width="match_parent" android:layout_height="wrap_content" /> 27 </FrameLayout> 28 </LinearLayout> 29