Android Question resize panel along wiht its internal view

Discussion in 'Android Questions' started by shashkiranr, May 22, 2015.

  1. shashkiranr

    shashkiranr Active Member Licensed User

    Hi All,

    I want a panel to be resized by the user by dragging the ends or edges(like in designer) so that the views (text)in the panel also gets resized.

    Is it possible to know the position of the edges of the panel after it is resized.

    Regards,
    SK
     
  2. sorex

    sorex Expert Licensed User

    you could check the width & height parameters.

    the position is the handlers is then .left/.top , .left+width/.top , .left/.top+.height , .left+.width/.top+.height


    / is a split here, not a division
     
  3. shashkiranr

    shashkiranr Active Member Licensed User

    Hi Sorex,

    Thank you for your reply. I will try it and let you know the result.

    Regards,
    SK
     
  4. sorex

    sorex Expert Licensed User

    oh, you already replied... I edited the post above while you did
     
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