Hi i have created a basic listview and added a textview and imageview in it.
<ImageView
android:id="@+id/icon"
android:layout_width="50px"
android:paddingLeft="2px"
android:paddingRight="2px"
android:paddingTop="2px"
android:layout_height="wrap_content"
android:layout_alignParentRight = "true"
android:src="@drawable/call"
/>
I need to make imageview clickable so that if some clicks on it an action will happen like an new activity is opened.Can someone help me how to do this.
Thanks
See Question&Answers more detail:os