]> Pileus Git - ~andy/iBeaconNav/blob - res/layout/main.xml
Add Google Maps API template
[~andy/iBeaconNav] / res / layout / main.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <TabHost
3         xmlns:android="http://schemas.android.com/apk/res/android"
4         android:id="@android:id/tabhost"
5         android:layout_width="fill_parent"
6         android:layout_height="fill_parent">
7         <LinearLayout
8                 android:orientation="vertical"
9                 android:layout_width="fill_parent"
10                 android:layout_height="fill_parent">
11                 <TabWidget
12                         android:id="@android:id/tabs"
13                         android:layout_width="fill_parent"
14                         android:layout_height="wrap_content" />
15                 <FrameLayout
16                         android:id="@android:id/tabcontent"
17                         android:layout_width="fill_parent"
18                         android:layout_height="fill_parent">
19                         <LinearLayout
20                                 android:id="@+id/map"
21                                 android:orientation="vertical"
22                                 android:layout_width="fill_parent"
23                                 android:layout_height="fill_parent">
24                                 <fragment
25                                         xmlns:android="http://schemas.android.com/apk/res/android"
26                                         android:id="@+id/map_fragment"
27                                         android:layout_width="match_parent"
28                                         android:layout_height="match_parent"
29                                         android:name="com.google.android.gms.maps.MapFragment"/>
30                         </LinearLayout>
31                         <LinearLayout
32                                 android:id="@+id/state"
33                                 android:orientation="vertical"
34                                 android:layout_width="fill_parent"
35                                 android:layout_height="fill_parent">
36                                 <TextView
37                                         android:id="@+id/state_text"
38                                         android:layout_width="fill_parent"
39                                         android:layout_height="wrap_content"
40                                         android:text="State information" />
41                         </LinearLayout>
42                         <ScrollView
43                                 android:id="@+id/debug_scroll"
44                                 android:layout_width="fill_parent"
45                                 android:layout_height="wrap_content"
46                                 android:scrollbars="vertical"
47                                 android:fillViewport="true">
48                                 <TextView
49                                         android:id="@+id/debug"
50                                         android:layout_width="fill_parent"
51                                         android:layout_height="fill_parent" />
52                         </ScrollView>
53                 </FrameLayout>
54         </LinearLayout>
55 </TabHost>
56 <!-- vim: set ts=4 sw=4 sts=4: -->