title: Button with other components inside
body: <p>I would like to create custom component in Android Studio. This should be a button but with other components like ImageView or ChceckBox inside. How to do this?</p>
  
  <p>I'm already tried create a Compound Control (LinearView with components inside) but I can't set onClickListener to catch click event of this and it's not so elegant solution.</p>
  
  <p>I would like to avoid creating my own component nearly from scratch (extend View and override onDraw method) but I don't know how I can do this in other way.</p>