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