after adding view to layout imageview onclick not working

view story

http://stackoverflow.com – here i have one layout inside i 2 imageviews before adding myview to layout my imagview onclicks is working well,if suppose i added myview to main layout means only draw working..but my imgview on click is not working o want both drawing,image click function in one suggest below is my code.. public class B extends Activity implements OnTouchListener { RelativeLayout.LayoutParams lp6; int x1, y1, x2, y2; LineDrawerView myview; RelativeLayout layout; ImageView i1,i2; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContent (HowTos)