1. Download our Official Android App: Forums for Android!

Apps combine image and text in an ImageButton

Discussion in 'Android Development' started by KittyA, Aug 30, 2010.

  1. KittyA

    KittyA Lurker
    Thread Starter
    Rank:
    None
    Points:
    25
    Posts:
    3
    Joined:
    Aug 23, 2010

    Aug 23, 2010
    3
    0
    25
    Hi All,

    Is there a way to add text on top of an already loaded image in an ImageButton ?

    I have loaded a png image from a blob field in sqlite. Now i want some text on top of that image. How can i do that??

    Thanks for helping me with that please.
     

    Advertisement

  2. SWhite

    SWhite Newbie
    Rank:
    None
    Points:
    16
    Posts:
    17
    Joined:
    Apr 15, 2010

    Apr 15, 2010
    17
    1
    16
    Student, Developer
    Louisiana
    If you use a standard Button object instead, you can define the text and background attributes and it will display as i understand youre wanting
     

Share This Page

Loading...