Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8132053
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T09:15:08+00:00 2026-06-06T09:15:08+00:00

Is it possible to add an image(view) on top of a button (which as

  • 0

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 :

http://a4.mzstatic.com/us/r1000/062/Purple/v4/7c/4b/cd/7c4bcd53-ba55-94d7-a26c-ce1bfe040003/mza_2736801523527387264.320×480-75.jpg

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.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T09:15:11+00:00Added an answer on June 6, 2026 at 9:15 am

    It is not quite clear what you want to achieve, but the following may be helpful for you:

    • Use an ImageButton
    • Set the Image as the background of the button either in XML (using android:background) or in code (using setBackgroundResource)

    Update:

    Looking at your updated requirements, it would be better to use a custom component to achieve what you want.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is it possible to add a small floating 'settings' button or image-button over a
Is it possible to add image in an UIAlertView, like showing an image from
I want to add multiple borders on a single image. Is this possible through
Is it possible to add button click event by clicking design of axml? if
Is it possible to add a table view on the cells of a table
I'm developing an Android language dictionary app. I'm thinking of a Favourites button that
I'd like to add section headers to my grouped table view's sections but I'd
I have a LinearLayout in my xml. On runtime i add one image view
Is it possible to add an image to the nav bar? The image should
I want to change background color of image view randomly i don't want to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.