app/src/main/res/drawable/btn_switch_camera.xml
<?xml version="1.0" encoding="utf-8"?><selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:drawable="@drawable/btn_switch_camera_pressed" android:state_pressed="true" /> <item android:drawable="@drawable/btn_switch_camera_normal" /></selector>