is there a trick to "force focus" on a list item? I've been playing around with these statements:

        // try to get focus
        siteListView.setFocusType( View.WEAK_FOCUS );   // View.NORMAL_FOCUS
        siteListView.setFocusable( true );
        boolean tookFocus = siteListView.requestFocus();

and 'tookFocus' appears (at the moment) to be a random act.

I haven't wasted much time on this but hope someone has got some tips  - there's also an EditText in the picture and I've got a suspicion that it's not "giving up" the focus - perhaps that should be "disabled"?

--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-no...
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to