I’m trying to display an image on top of a custom ViewGroup when a condition is met? I’ve tried this, How do I add a ViewGroup to another ViewGroup?, but it does not help, because I dont want to make it a child as the custom ViewGroup has LinearLayout. Is there a way to do this? Thanks..
Share
You can put
ViewGroupinside aRelativeLayaoutas center.now put
ImageViewinsideRelativeLayout, you can specify the positions by giving layout margins..