Hi all,
This may seem like a pretty complicated task, but I think it's
doable...
The default method of scrolling through items in a list is by pressing
the down key repeatedly, and each down key press will select the next
item in the list.
The way I have set up the list view, I'd like to do something a little
bit different...
<List>
<View0>
<LinearLayout>
<EditText1 />
...
<EditTextN />
</LinearLayout>
</View0>
<View1>
<LinearLayout>
<EditText1 />
...
<EditTextN />
</LinearLayout>
<View1>
</List>
So instead of simply selecting View0 or View1, I'd like it so that
when I press the down key repeatedly, the activity will scroll through
and select the EditTexts WITHIN the views in the list.
Is this doable, and if so, how? I assume it will have to do something
with overriding the onKeyDown method. I know that this is not how
ListView is meant to be used, so if this is impossible in a
ListActivity, please let me know if you can think of any alternatives
to do what I described above.
Thank you for your help,
James
--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---