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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T04:01:47+00:00 2026-06-01T04:01:47+00:00

I am using a .png for both my logo and action Bar menu items.

  • 0

I am using a .png for both my logo and action Bar menu items. I am using the android.Holo.light theme.

Even though I’ve made the background transparent for both the logo and the menu items, a grey shaded area is still showing behind the .png. How do I change this?

Take a look at my menu XML and my style override XML below.

<?xml version="1.0" encoding="utf-8"?>
<resources>
  <style name="MyTheme" parent="android:Theme.Holo.Light">
     <item name="android:selectableItemBackground">@color/transparent</item>
     <item name="android:background">#00000000</item>
  </style>

  <style name="ActionBar" parent="@android:style/Widget.Holo.Light.ActionBar" >
      <item name="android:selectableItemBackground">@color/transparent</item>
      <item name="android:background">#00000000</item>

  </style>

  <style name="textTitle" 
      parent="@android:style/TextAppearance">
    <item name="android:textSize">20dp</item>
    <item name="android:textColor">#DC0451</item>
    <item name="android:textStyle">bold</item>
  </style>


   <style name="textDescription" 
      parent="@android:style/TextAppearance">
    <item name="android:textSize">15dp</item>
    <item name="android:textColor">#666666</item>
  </style>
</resources>
  • Menu xml

        <item 
            android:id="@+id/Category"
            android:title="Category"
            android:showAsAction="always|withText"
            android:icon="@drawable/menuitemselect"
            style="@style/ActionBar"
    
            > 
             <menu>
                  <item     
                    android:id="@+id/catalog"
                    android:title="Main Catalog"
                    android:icon="@drawable/menuitemselect"
                    android:onClick="catalogClick"
                />
                <item android:id="@+id/newvideos"
                    android:title="New"
                    android:icon="@drawable/menuitemselect"
                    android:onClick="newVideoClick"
                    style="@style/ActionBar"
                />
    
    
                 <item 
                    android:id="@+id/popularvideos"
                    android:title="Popular"
                    android:icon="@drawable/menuitemselect" 
                    android:onClick="popularVideoClick"
                    style="@style/ActionBar"
                 />
    
             </menu>
    
      </item>
    
                <item android:id="@+id/backButton"
                    android:title="Back"
                    android:showAsAction="ifRoom"
                    android:icon="@drawable/ic_launcher"
                />
    
    </menu>
    

Thank you

  • 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-01T04:01:48+00:00Added an answer on June 1, 2026 at 4:01 am

    I found that the issue was with :

     <item name="android:selectableItemBackground">@color/transparent</item>.
    

    I added it in an attempt to get rid of default highlight feature. It seems when I have this set, the grey background shows up. When I remove it, it acts as it should.

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

Sidebar

Related Questions

When using PNG files (made with Paint.NET) as background images on my web site,
I have a DotNetNuke site where my main logo is a PNG file using
I have recently downloaded both the 2.3 and 3.0 SDK for Android using Eclipse.
I'd like to put a logo png onto of another coloured png. They both
I want to stroke a path using a .png that I have but I
I've been trying to convert SVG images to PNG using C#, without having to
I'm trying to fadeIn and fadeOut a transparent png using JQuery. Of course, it
i need to create a object Image from import javax.microedition.lcdui.Image; using a file .png
Using Python's Imaging Library I want to create a PNG file. I would like
I am using this to fix PNG transparency on background images in IE6 ul

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.