All,

I have a problem that appeared once I've upgraded to the SDK1.6

I wanted to align the top of a bubble with the center of my map.
Developing with 1.5, I've defined a RelativeLayout with a point (in
black on the screen) align in the center and the aligned my top of
bubble below this point. It worked perfectly.

But since my upgrade to 1.6, my top of bubble is aligned like if the
point was on top of my screen

http://picasaweb.google.com/nicolas.maynard/UntitledAlbum?feat=directlink

The white bubble should be under the black spot, not so high in the
screen.

here is the part of my xml. Thanks for your help

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/
android"
                android:id="@+id/map"
                android:orientation="vertical"
                android:layout_width="fill_parent"
                android:layout_height="fill_parent" >

                <com.google.android.maps.MapView
                        android:id="@+id/mapview"
                        android:layout_width="fill_parent"
                        android:layout_height="fill_parent"
                        android:clickable="true"
                        android:apiKey="0rwwU2ptJSox_u6Z5_Ugac2ddvqWvx8m59Ez1_w"
                />

                <ImageButton
                        android:id="@+id/button_new_place"

                        android:background="@android:drawable/btn_default"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_alignTop="@id/mapview"
                        android:src="@android:drawable/ic_input_add"
                        android:layout_alignParentRight="true"
                        android:layout_marginTop="2dip"
                        android:layout_marginRight="2dip"

                />

                        <LinearLayout
                android:id="@+id/zoomview"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_centerHorizontal="true"
                android:layout_alignBottom="@id/mapview"
                        />


                        <View
                                android:id="@+id/center_screen"
                                android:layout_centerInParent="true"
                                android:layout_height="10dip"
                                android:layout_width="10dip"
                                android:visibility="visible"
                                android:background="#333333"
                                />


                        <ImageView
                                android:id="@+id/top_buble"
                                android:background="@drawable/top_bubble"
                                android:visibility="invisible"
                                android:layout_centerHorizontal="true"
                                android:layout_below="@id/center_screen"
                                android:layout_height="wrap_content"
                                android:layout_width="wrap_content"
                                />
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to