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.
     
Loading...