views:

40

answers:

1

I have a ListView which can be navigated with the dpad. It has a footer. I want to prevent navigation into the footer with the dpad. I have set focusable and focusableInTouchMode of the footer view itself to false; this makes no difference (so I deduce that it is not actually focus I am seeing, but rather selection).

How do I prevent the footer from becoming selected?

+1  A: 

You might try using this when adding the footer view:

listView.addFooterView(view, data, false);//third argument indicates footer is unselectable

Haven't done this myself, so just a suggestion.

danh32
Thank you! This is the fix. I had been using the single-argument version of addFooterView.
Carl Manaster