Android Question Bitmaps on Buttons

Discussion in 'Android Questions' started by Marquin, Jun 11, 2015.

  1. Marquin

    Marquin New Member

    Hey, I've got 36 buttons and have created them using code, I wish to add an image to some of them. I have created some buttons in Designer and added an image/bitmap to them using designer, I don't want the button to be on or off (IE. StateListDrawable). Anyone have an suggestions or ideas on how to load images onto buttons?
  2. klaus

    klaus Expert Licensed User

    Chapter 10.1.3 BitmapDrawable in the User's Guide.
    The example there is for a Panel but the principle is the same for a Button.
    Devan and Peter Simpson like this.
  3. Marquin

    Marquin New Member

    Alright, i'll check it out, thanks
  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