Hmm ... it should, as the currently focused item should be drawn last (on top) by default. Maybe try invalidating the view after resetting the focus to force a redraw and see if that works?
On Sat, Feb 13, 2010 at 2:37 PM, Fabian Sturm <[email protected]> wrote: > Hi, > > thanks for the hint! I already tried to implement this, but am now stuck > with that setFocus works, but it does not raise the OverlayItem to the > top. As is done if I select the item with a tap. > > So is there any chance to really select an item and not merely focusing > it? > > > Are you sure you want to do this? This goes against the standard > > behavior of "deselecting" when clicking somewhere on the map (possible > > to remove a popup or other obstructing view). But if you really want > > to... > > The reasoning behind this is, that I don't have a popup when I select an > item. But I have a statusbar which is permanently visible and shows > details to the selected item. Therefore it makes sense to always have > one item selected. > > Thanks a lot, Fabian > > > > > > -- > 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]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- ------------------------------------------------------------------------------------------------- TreKing - Chicago transit tracking app for Android-powered devices http://sites.google.com/site/rezmobileapps/treking -- 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

