I\'ve got a linear layout that i have set true to be clikable + focus, But the problem is there is no focus displayed when clicked. How can i get the focus to be displayed.<
Try to bring that layout to front in code:
public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
View mainView = this.findViewById(R.id.mainView);
this.setContentView(mainView);
LinearLayout linear_tv_layout = (LinearLayout)mainView.findViewById(R.id.linear_tv_layout);
linear_tv_layout.bringToFront();
// or: mainView.bringChildToFront(linear_tv_layout);
}
If that does not work, check if there is one or more view overlapped over that LinearLayout.