1. R

    Android Question Adding StatelistDrawable button in code

    I am using StatelistDrawable buttons, setup in the designer, but how would I add these buttons in code, not using the designer? StatelistDrawable ColorDrawable Color: #FFFFFFFF Corner radius: 6 Border color: #00FFFFFF BorderWidth: 0 Pressed Drawable: Color: Default Corner radius: 0 RBS
  2. R

    Android Question Difference DefaultDrawable and StateListDrawable buttons regarding button edge

    Trying to place button on a panel and set the gap between those buttons. Noticed there seems to be a difference between DefaultDrawable and StateListDrawable buttons as how the edge of the button shows on the panel. These 2 layout scripts show the difference: For StateListDrawable buttons this...
  3. M

    Android Question [SOLVED] StateListDrawable on 2 buttons

    Hi! I'm using StateListDrawable on 2 buttons and when I press Button1 the Button2 changes to pressed, too. But, if I press Button2 the Button1 works ok. Also, the button1 doesn't show with the correct width, it seems like the Button2 forces its width. This is the code: Dim benabled, bpressed...