Android Question panel transparency issue

Discussion in 'Android Questions' started by qsrtech, Jun 2, 2015.

  1. qsrtech

    qsrtech Active Member Licensed User

    When adding a panel in the designer, it is always defaulted to opaque, but it seems when i create one in code it always defaults to transparent, at least if i load a layout file into it. The only way i see around it so far is to always create a colordrawable and it has to be assigned after the loadlayout. Is this the correct design or is there something set wrong in my layout files?
  2. LucaMs

    LucaMs Expert Licensed User

    set its color using:

    pnl.Color = colors.ARGB(0, ...
  3. qsrtech

    qsrtech Active Member Licensed User

    Thanks but i still need to use CD cause i need to adjust the border, etc.
  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