• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

How to set the height of view to be the same as another view?

prako2

Lurker
Hello, I'm begginer. In relative layout on image view which is aligned to the bottom of parent (relative layout) I want to put a button which would have height the same as image view. How can I do that? I can't make button to be child of image view. If I could, I'd do match_parent. I read that I can use frame layout to put view on view but I can't bottom align view when using it. Using Android Studio.
 
Back
Top Bottom