1. Are you ready for the Galaxy S20? Here is everything we know so far!

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

Discussion in 'Android Apps & Games' started by prako2, Nov 1, 2019.

  1. prako2

    prako2 Lurker
    Thread Starter

    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.
     



    1. Download the Forums for Android™ app!


      Download

       

Learn Android Studio Tricks

Learn Android Studio Tricks Forum

mihir.learnandroidstudiotricks

READ MORE
Last Updated
0
Rating
Installs
Loading...

Share This Page

Loading...