[android-developers] [Google Maps API v2] Info windows Title
Hello, I am using a custom InfoWindowAdapter to show a custom InfoWindow. In my layout i have the following TextView: TextView android:id=@+id/balloon_item_title android:layout_width=match_parent android:layout_height=wrap_content android:text=My Title android:singleLine=true android:maxWidth=200dip android:ellipsize=marquee android:marqueeRepeatLimit=marquee_forever android:scrollHorizontally=true android:textColor=@android:color/primary_text_light android:textSize=16sp / Although I set the ellipsize to marquee, the text does not move. Is this a limitation of the InfoWindowAdapter? Thanks Best Regards -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] [Google Maps API v2] Info windows Title
Probably. If I understand correctly, what is shown in the info window is not the actual widgets, but rather a Bitmap created from those widgets. If so, that would explain why animated effects will not work. On Tue, Jan 22, 2013 at 11:19 AM, Filipe Batista batista.fil...@gmail.com wrote: Hello, I am using a custom InfoWindowAdapter to show a custom InfoWindow. In my layout i have the following TextView: TextView android:id=@+id/balloon_item_title android:layout_width=match_parent android:layout_height=wrap_content android:text=My Title android:singleLine=true android:maxWidth=200dip android:ellipsize=marquee android:marqueeRepeatLimit=marquee_forever android:scrollHorizontally=true android:textColor=@android:color/primary_text_light android:textSize=16sp / Although I set the ellipsize to marquee, the text does not move. Is this a limitation of the InfoWindowAdapter? Thanks Best Regards -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 4.5 Available! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] [Google Maps API v2] Info windows Title
Yep, you are right. I have just noticed in here: https://developers.google.com/maps/documentation/android/marker?hl=en Note: The info window that is drawn is not a live view. The view is rendered as an image (using `View.draw(Canvas)`) at the time it is returned. This means that any subsequent changes to the view will not be reflected by the info window on the map. To update the info window later (e.g., after an image has loaded), call `showInfoWindow()`. Furthermore, the info window will not respect any of the interactivity typical for a normal view such as touch or gesture events. However you can listen to a generic click event on the whole info window as described in the section below. Thanks Terça-feira, 22 de Janeiro de 2013 16:29:20 UTC, Mark Murphy (a Commons Guy) escreveu: Probably. If I understand correctly, what is shown in the info window is not the actual widgets, but rather a Bitmap created from those widgets. If so, that would explain why animated effects will not work. On Tue, Jan 22, 2013 at 11:19 AM, Filipe Batista Hello, I am using a custom InfoWindowAdapter to show a custom InfoWindow. In my layout i have the following TextView: TextView android:id=@+id/balloon_item_title android:layout_width=match_parent android:layout_height=wrap_content android:text=My Title android:singleLine=true android:maxWidth=200dip android:ellipsize=marquee android:marqueeRepeatLimit=marquee_forever android:scrollHorizontally=true android:textColor=@android:color/primary_text_light android:textSize=16sp / Although I set the ellipsize to marquee, the text does not move. Is this a limitation of the InfoWindowAdapter? Thanks Best Regards -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-d...@googlegroups.comjavascript: To unsubscribe from this group, send email to For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 4.5 Available! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en