In my Image there is a sidebar and ListView there, I access every Button by using D-PAD. When side bar search button has focus and I press right D-PAD button, I want the focus to go to the ListView's first item. But, in my case it goes to the second item. If Down arrow has focus and i press right button it goes to 4th list item.So , i need to prevent this also.How to move the focus to the 1st one?
if (Search != null && Search.hasFocus()) {
// Search.setNextFocusRightId(R.id.listView);
// listView.smoothScrollToPosition(0);
listView.setChoiceMode(1);
listView.setItemChecked(0, true);
}