Home » Android » how to make relative layout in dialog box clickable

how to make relative layout in dialog box clickable

Posted by: admin November 1, 2017 Leave a comment

Questions:

I am trying to display a dialog box having one linear vertical inside of this linear layout I have 2 RelativeLayout. These RelativeLayout have one ImageView that should became visible and invisible on the bases of clicks on these RelativeLayout
But when I click on them app get crashed.

Answers: