I want to highlight the list element similar to how it gets highlighted on clicking the list item. The main idea is to make it standout from the rest of the list items. I don't want to force any selection. "that didn't help me" means that the list item didn't get highlighted when the user entered the activity. I am trying to highlight the first element as soon as the user enters the activity. Could you help me ?
On Monday, June 25, 2012 2:18:50 PM UTC-4, MagouyaWare wrote: > > I have an application that has a ListView and I want to highlight the >> first item in my ListView as soon as the user enters the activity with the >> ListView. I tried using ListView.setSelection(), but that didn't help me. >> Any ideas ? >> > > - What exactly do you mean by highlight? > - What is the overall idea of what you are trying to accomplish? > - Do you just want the first item in the list to stand out from > everything else? > - Are you wanting to force a selection? > - What do you mean by "that didn't help me"? > > These are things we need to know before you will be able to get any > relevant help... > > > Thanks, > Justin Anderson > MagouyaWare Developer > http://sites.google.com/site/magouyaware > > > On Mon, Jun 25, 2012 at 12:11 PM, Raghav Shankar > <[email protected]>wrote: > >> I have an application that has a ListView and I want to highlight the >> first item in my ListView as soon as the user enters the activity with the >> ListView. I tried using *ListView.setSelection()*, but that didn't help >> me. Any ideas ? >> >> -- >> 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 > > > -- 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

