Items in ListView don't get selected using touch

by Yousuf Haider » Sat, 20 Jun 2009 09:35:03 GMT

Sponsored Links

I have a relative layout which contains 2 things. Something like this:

        --Some buttons

If I use the trackball to scroll I can select items in my list view. However
if I try to touch an item to select it the item doesn't get selected.

Any ideas ?



Items in ListView don't get selected using touch

by Odessa Silverberg » Mon, 22 Jun 2009 16:40:24 GMT

 Did you tried playing with

android:clickable/setClickable(boolean) #attr_android:clickable

android:focusable/setFocusable(boolean) #attr_android:focusable


android:focusableInTouchMode/setFocusableInTouchMode(boolean) #attr_android:focusableInTouchMode


Sponsored Links

Other Threads

1. ProgressBar no coming on a ListActivity

I am having a ListActivity
in the onListItemClick() of an item I need to do some processing
so I need to show a progressbar on the screen.

But ProgressBar is not getting shown
I gave
no effect
plz help

2. Unable to install the .apk file via OTA in Android 1.0 release

Hi All,

I am trying to install the downloaded apk files (downloaded via OTA in
SD Card) but on installing the downloaded application shows "Install
blocked" alert message.
below is full prompt:

"For security, our phone is set to block installation of applications
not sources in android market"

Any idea/suggestion on how to install the application which are
downloaded via OTA.


3. Is it possible to connect two android with different machine?

4. current page's url

5. Using the battery state

6. Port issue with the Android Emulator

7. WebViewDemo in apps-for-android