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 8586039
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T22:12:48+00:00 2026-06-11T22:12:48+00:00

I saw this question (http://stackoverflow.com/questions/1521640/standard-android-button-with-a-different-color) and that works fine for normal buttons. Now I

  • 0

I saw this question (http://stackoverflow.com/questions/1521640/standard-android-button-with-a-different-color) and that works fine for normal buttons. Now I wanted to apply the same procedere on my ImageButtons, on which I add an Icon with android:src=”@drawable/icon_name”

I defined following style in styles.xml

<style name="ImageButton" parent="android:Widget.ImageButton">
        <item name="android:background">@drawable/custom_image_button</item>
</style>

and set up the custom_image_button.xml in analogy with the custom_button.xml from my quote, but the problem is, by defining my Theme, I can find a android:buttonStyle, but no android:imageButtonStyle or something similiar. Is there another way to get to that point? Or is the only option to create a single icon for every state when customizing ImageButtons?

  • 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-11T22:12:49+00:00Added an answer on June 11, 2026 at 10:12 pm

    I think you need to double-check — there is an android:imageButtonStyle attribute for themes. See themes.xml for all of the possible attributes for a theme.

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

Sidebar

Related Questions

I saw this link (http://stackoverflow.com/questions/6603868/android-onclicklistener-and-table-layout) which seems like it works for the person asking
I already saw this post here (http://stackoverflow.com/questions/1398113/sql-select-one-row-randomly-but-taking-into-account-a-weight), but couldnt work it out. Where do
So i saw in this answer: http://stackoverflow.com/a/11072057/1061426 that someone said: Change this line: form
I just saw this video http://www.youtube.com/watch?v=y71lli8MS8s and find it amazing. The question is about
I've been interested in this demo: http://jakearchibald.com/scratch/alphavid/ I also saw this question on here:
Let me preface by saying that I saw this other question on the subject
I also posted this question on the Google Group https://groups.google.com/forum/?fromgroups#!topic/d3-js/DYiVeC544ws , but saw that
I saw this question on a forum: http://www.geeksforgeeks.org/archives/19042 Given an undirected graph and a
I saw a website http://www.pricegrabber.com/nokia/products.html/form_keyword=nokia/st=query/sv=findit_top/ that finds the cheaper/best price of a product among
So I saw this post: http://mobiledevelopertips.com/xcode/download-and-install-older-versions-of-xcode-xcode-previous-releases.html (new location: at iosdevelopertips.com ) about downloading older

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.