Android Question Change CustomListView's width in code

Discussion in 'Android Questions' started by gunnarjonsson, Nov 1, 2018.

  1. gunnarjonsson

    gunnarjonsson New Member Licensed User

    Hi All!
    I have been trying to adapt the width of a customlistview based on current display width.
    I have tried to change it by using
    in Activity_Create. Is there a better way to do this?
  2. Erel

    Erel Administrator Staff Member Licensed User

    Yes. Use the designer and set the anchors.

    Watch the visual designer video tutorial:
  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