Skip to content Skip to sidebar Skip to footer

Make A Relativelayout And It's Child Im My Case An Imageview Act Like One Button

Hi im trying to accomplish the following layout. I have two RelativeLayout, each one contains a TextView and an ImageView. the imageView show to the user the choice that he picked

Solution 1:

Set the property of you child view android:duplicateParentState="true"

duplicateParentState

Solution 2:

when you make ImageView visible/invisible in onClick even of RelativeLayout, did you try changing bg color of your RelativeLayout to blue/white?

Post a Comment for "Make A Relativelayout And It's Child Im My Case An Imageview Act Like One Button"