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

  • Thread starter Thread starter Android Central Question
  • Start date Start date
A

Android Central Question

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.
 
Hi, welcome to Android Forums

I'd like to recommend creating a account so me or other members can assist you, as guest have limitations in replying here and if we need further Information to communicate with you.

I'll provide a link to register, please come back to your post so we can further assist
https://forums.androidcentral.com/showthread.php?t=409154