Hi,

If you don't need all of the features that ListView provides, you should use
LinearLayout instead.

-joe


On Wed, Apr 2, 2008 at 3:33 AM, Harsh Jain <[EMAIL PROTECTED]> wrote:

> Hi,
>  I need to create a list view, which doesnt response to user interactions,
> it should be non-clickable, and user should not be able to scroll through
> it.
> I tried the following
>         ListView lv = getListView();
>         lv.setClickable(false);
>         lv.setFocusable(false);
>         lv.setDividerHeight(0);
>         lv.setItemsCanFocus(false);
>
> But I am still able to navigate the list using key pad and am also able to
> click through it. I even tried lv.setEnabled(false), which only makes it
> grey but i am still able to scroll through it. Please advice.
>
> Regards,
> harsh
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to