Selector in android is the pressing effect. if user presses the button and u wanna give effect for that , then we use selector in android. Here are the steps for the same
1. to use selector in android we create xml file in drawable folder
selector.xml
...