Question

I have different elements in my layout: Buttons, RadioButtons, EditText, a ListView and I have made a RelativeLayout that is clickable and starts a new intent. Everything works ok except that I can't select that element with the trackball. Is there any way to achieve this? Thanks in advance.

Was it helpful?

Solution

have you tried to use the methods

setNextFocusDown(int id);
setNextFocusLeft(int id);
setNextFocusRight(int id);
setNextFocusUp(int id);

http://developer.android.com/reference/android/view/View.html

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top