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

  • Home
  • SEARCH
  • 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 8651897
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T14:10:49+00:00 2026-06-12T14:10:49+00:00

I have applied an theme for my app by defining the android:theme in my

  • 0

I have applied an theme for my app by defining the android:theme in my AndroidManifest.xml like following:

AndroidManifest.xml:

<application
        android:label="@string/app_name"
        android:theme="@style/Theme.MyTheme" >
        <activity
            android:name=".MainActivity"
            ...
            ...
        </activity>
        ...
</application>

in themes.xml:

<style name="Theme.MyTheme" parent="@android:style/Theme.Holo">
   <item name="android:windowBackground">@drawable/blue_bg_img</item>
</style>

As you can see above in MyTheme, I have applied an blue color image as my app windowBackground. So, every view element in my app will have this blue color image background.

But I have one ImageView element which I do not want to have this blue windowBackground, instead, I would like to have a transparent background for it. I tried to:

myImageView.setBackgroundColor(Color.TRANSPARENT);

But the blue image defined in my app theme is still showing. Seems I can not override the app theme I have defined. How can I override my theme for one View element in my app ???

  • 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-12T14:10:51+00:00Added an answer on June 12, 2026 at 2:10 pm

    Finally, I managed to solve this problem myself by decreasing the height of my ImageView element until the blue background is not visible. If other people have other solutions, I am very pleased to see.

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

Sidebar

Related Questions

I have a style applied to my whole application: AndroidManifest.xml: <application android:theme=@style/ApplicationStyle android:icon=@drawable/icon android:label=@string/app_name>
I have a web app that I've recently applied a jQuery ThemeRoller theme to.
I have applied CSS style to JavaFX components and it looks like everything is
I have Expression Dark theme for the entire WPF application. <Application x:Uid=Application_1 x:Class=MyShow.Player.App xmlns=http://schemas.microsoft.com/winfx/2006/xaml/presentation
I have customized the new style for meagento notification messages in below path /app/code/core/Mage/Core/Block/Messages.php
I'm trying to define a theme for an appwidget, and have it applied at
I have applied a brown tint to the app. When I select the popup
I have a DataTemplate in app.xaml that binds a view to a viewmodel. <Application.Resources>
I'm building an Android app using PhoneGap, and would like to make the copy/share
I have a form model created as following: from plone.app.directives import Form class IFormSchema(form.Schema):

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.