I want to make a clickable LinearLayout. I already set the Layout to Clickable and Focusable, but how can I write code in mainActivity.cs like:
LinearLayout.ItemClick += LinearLayout_ItemClick;
void LinearLayout_ItemClick(Object sender, AdapterView.ItemClickEventArgs e)
{
//Do something...
}
Because it says that a Layout doesn't have the clickable function!?