I use google map api,but the emulator shows messy,my main.xml
   <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/
android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical" >
   <LinearLayout xmlns:android="http://schemas.android.com/apk/res/
android"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:orientation="horizontal">
    <Button
      android:id="@+id/zoomin"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:text="+"
      android:onClick="myClickHandler"
      />
    <Button
      android:id="@+id/zoomout"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:text="-"
      android:onClick="myClickHandler"
      />
    <Button
      android:id="@+id/sat"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:text="sat"
      android:onClick="myClickHandler"
     />
    <Button
      android:id="@+id/street"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:text="str"
      android:onClick="myClickHandler"
     />
    <Button
      android:id="@+id/tra"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:text="traffic"
      android:onClick="myClickHandler"
      />
    <Button
      android:id="@+id/normal"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:text="normal"
      android:onClick="myClickHandler"
     />
   </LinearLayout>
   <view class="com.google.android.maps.MapView"
         android:id="@+id/mapView1"
         android:layout_width="fill_parent"
         android:layout_height="wrap_content"
         android:clickable="true"
         android:apiKey="0-BDqlighxtUmcnH3hN9G6FwGvtHxosvHEz0tHw"/>

</LinearLayout>

I choose run as android application,but in the emulator,the home shows
messy,and my application shows messy,I resize the emulator's size,it
doesnot work.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to