/as_01/res/layout/activity_main.xml
XML | 49 lines | 43 code | 6 blank | 0 comment | 0 complexity | b3cca28bc55e81b11e2848da6640d4e5 MD5 | raw file
1<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2 xmlns:tools="http://schemas.android.com/tools"
3 android:layout_width="match_parent"
4 android:layout_height="match_parent"
5 android:layout_alignParentLeft="true"
6 android:layout_alignParentTop="true"
7 android:orientation="vertical" >
8
9 <FrameLayout
10 android:id="@+id/frame_layout1"
11 android:layout_width="match_parent"
12 android:layout_height="0dp"
13 android:layout_weight="0.8" >
14 </FrameLayout>
15
16 <LinearLayout
17 android:layout_width="match_parent"
18 android:layout_height="0dp"
19 android:layout_weight="0.2" >
20
21 <TextView
22 android:id="@+id/btnLeft"
23 android:layout_width="wrap_content"
24 android:layout_height="match_parent"
25 android:background="#ff0000ff"
26 android:drawablePadding="10dp"
27 android:gravity="center_vertical"
28 android:text="@string/left_button_label"
29 android:textAppearance="?android:attr/textAppearanceLarge" />
30
31 <TextView
32 android:id="@+id/textView1"
33 android:layout_width="0dp"
34 android:layout_height="match_parent"
35 android:layout_weight="0.6"
36 android:textAppearance="?android:attr/textAppearanceLarge" />
37
38 <TextView
39 android:id="@+id/btnRight"
40 android:layout_width="wrap_content"
41 android:layout_height="match_parent"
42 android:background="#ff0000ff"
43 android:drawablePadding="10dp"
44 android:gravity="center_vertical"
45 android:text="@string/right_button_label"
46 android:textAppearance="?android:attr/textAppearanceLarge" />
47 </LinearLayout>
48
49</LinearLayout>