image on top of button android
Posted
by
N-AccessDev
on Stack Overflow
See other posts from Stack Overflow
or by N-AccessDev
Published on 2012-06-25T13:05:55Z
Indexed on
2012/06/25
15:16 UTC
Read the original article
Hit count: 198
Is it possible to add an image(view) on top of a button (which as a background image)?
I'm porting an iOS app to Android and it wasn't a problem on iOS, but I'm wondering if it is the right approach on Android because of layouts.
Edit :
To clarify, check this screen shot :
I need to do the bottom left button "carte" (card in french)
I need :
- a button with a background image
- an image displayed on top of the button which is loaded from internet (a card , there is a lot of different and news cards are added daily, in the screnshot it s "MIDI PASS" )
- a text localised on the button , so I cant use Imagebutton class.
© Stack Overflow or respective owner