You need to set
android:descendantFocusability="blocksDescendants"
in your custom xml layout file for the LinearLayout or whatever layout you've been using. (for defining your custom row)