Android Question Programmatically set bottom edge distance of a Panel?

Discussion in 'Android Questions' started by Scotter, Dec 20, 2018.

  1. Scotter

    Scotter Active Member Licensed User

    Hi -
    I see height is available but I've anchored to top and bottom in designer.
    So I'd like to be able to change Bottom Edge Distance programmatically.
    If not possible, and I have 7 variants, how do I calculate Height?
    In case it helps, why am I doing this?
    That Panel is a parent to a Tab Strip View. When they change tabs, depending on which tab, I hide a panel under this panel and want to expand this Panel (that is parent to the Tab Strip View) to the very bottom of the screen.
    Thanks!
    EDIT: SOLVED! I moved the part I wanted to hide into the tab/page it would show up in and removed it from the main layout page. Voila! All resizing done in the designer!
     
    Last edited: Dec 20, 2018
  2. asales

    asales Well-Known Member Licensed User

    Scotter likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice