Is there any possibility to set an onTouchListener on the background which was set by writing android:background="@drawable/xxx" in my .xml file? Maybe I can set one to my RelativeLayout which has this drawable as a background? If not, what is the easiest way to do this? Thanks.
Is there any possibility to set an onTouchListener on the background which was set
Share
Set onTouchListener to your Relative layout.Then calculate