How to add focusable items to ListActivity

by PalR » Tue, 25 May 2010 01:59:57 GMT


Sponsored Links
 All, I need help to resolve focusability/selection of Views part of my
ListActivity which is fed by ResourceCursorAdapter
I use newView and bindView to add custom View dependeing on data from
Cursor
My list items have a TextView and ImageView , and I want each to have
separate focus.

With default implementation when I scroll down I have the entire
agrregate view (TextView + ImageView) selected
Desired behaviour: I want default scroll to happen only on TextView
and I want to be able to scroll/ shift focus
left-right using keypad between the TextView and ImageView

Any ideas how to detach default behaviour of ListActivity which now
highlights the entire aggregate View

--



Other Threads

1. Insert animation between video playback?

Hello

I am not sure if this makes any sense. But what I really want to do is
to insert some animation snippets (1-2 secs) in between my Video
playback to try and give the users a transitional effect while
watching videos. My questions really is whether I can do this while
the videoview is running the video:

mVideoView.pause();
mVideoView.setVideoPath("location of a short animation clip");
mVideoView.start();

..... 1-2 secs of animation playback on the same view

mVideoView.setVideoPath("location of original video");
mVideoView.seekTo("where I paused");
mVideoView.start();

Am I shooting in the dark or is this something I can spend time
trying?

Thanks,

Abhi

-- 

2. monitoring the http traffic

Hello All:

I need to monitor all the http traffic on my android. Since my android is
non-rooted, I could not get access to the Downloads content provider. Is
there any other way to monitor all the http traffic without rooting the
android phone at the application level.


Thank you.
Regards,
Prajakta

-- 

3. Iseng - Fake About Phone

4. Download a file from a URL extremely slow, am I doing it right?

5. catching both click and long click on a ListView

6. problem in layout alignment

7. Extending Gallery to not auto-center selected view