I believe the accepted answer should be: android:background="?attr/selectableItemBackground"
android:background="?attr/selectableItemBackground"
This is the same as @lory105's answer but it uses the support library for maximum compatibility (the android: equivalent is only available for API >= 11)
android: