문제

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.

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top