summaryrefslogtreecommitdiff
path: root/client/Piztor/res/layout
diff options
context:
space:
mode:
authorGoblin911 <[email protected]>2013-08-28 02:38:11 +0800
committerGoblin911 <[email protected]>2013-08-28 02:38:11 +0800
commit0a8315a94d8ed1252f3f96d4ca41ddc632c3bc98 (patch)
tree270d069ebfd636f19dff4cd507930367792a302f /client/Piztor/res/layout
parent3baa5dd28c595c497a1669b3f25cda8c52139c87 (diff)
now can run!!!
Diffstat (limited to 'client/Piztor/res/layout')
-rw-r--r--client/Piztor/res/layout/activity_main.xml61
1 files changed, 31 insertions, 30 deletions
diff --git a/client/Piztor/res/layout/activity_main.xml b/client/Piztor/res/layout/activity_main.xml
index a36f8b5..f72ac62 100644
--- a/client/Piztor/res/layout/activity_main.xml
+++ b/client/Piztor/res/layout/activity_main.xml
@@ -1,33 +1,34 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@android:color/white"
- android:orientation="vertical">
- <RelativeLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentTop="true"
- android:id="@+id/main_headbar_layout"
- >
- <include layout="@layout/main_headbar"/>
- </RelativeLayout>
-
- <LinearLayout
- android:id="@+id/main_footbar_layout"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- >
- <include layout="@layout/main_footbar"/>
- </LinearLayout>
+ xmlns:android1="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:background="@android:color/white" >
- <ImageView
- android:id="@+id/main_mapview"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:layout_below="@+id/main_headbar_layout"
- android:layout_above="@+id/main_footbar_layout"
- android:scaleType="matrix"
- android:src="@drawable/data"/>
-</RelativeLayout> \ No newline at end of file
+ <RelativeLayout
+ android:id="@+id/main_headbar_layout"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentTop="true" >
+
+ <include layout="@layout/main_headbar" />
+ </RelativeLayout>
+
+ <LinearLayout
+ android:id="@+id/main_footbar_layout"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentBottom="true" >
+
+ <include layout="@layout/main_footbar" />
+ </LinearLayout>
+
+ <com.baidu.mapapi.map.MapView
+ android:id="@+id/bmapView"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:layout_above="@+id/main_footbar_layout"
+ android:layout_below="@+id/main_headbar_layout"
+ android:clickable="true" />
+
+</RelativeLayout>