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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T05:37:51+00:00 2026-06-16T05:37:51+00:00

my problem is an Android app, that uses android:Theme as a default style and

  • 0

my problem is an Android app, that uses android:Theme as a default style and android:Theme.Holo.Light for OSes of version 11 and newer and android:Theme.Holo.Light.DarkActionBar for v14 and newer.

The app project was created using the ADT Eclipse-wizzard, so the AndroidManifest.xml sets android:theme="@style/AppTheme", and there are three styles.xml files, one in the values, values-v11, and values-v14 folders respectively. The default styles.xml sets

<style name="AppBaseTheme" parent="android:Theme">

the styles.xml in values-v11 sets

<style name="AppBaseTheme" parent="android:Theme.Holo.Light">

and finally styles.xml in values-v14 sets

<style name="AppBaseTheme" parent="android:Theme.Holo.Light.DarkActionBar">

This worked nicely for quite some time. I’ve checked the appearance for gingerbread using an emulator and the Holo-theme on a Galaxy SIII.

But now, also the Samsung phone will only use the classic android:Theme, no matter what I set in the style.xmls. I’ve also tried to raise the minSdkVersion in AndroidManifest.xml to 16 and to set the Holo-theme in the default styles.xml. Cleaning up and rebuilding had no effect either.

The Holo-theme is happily ignored by the app, and I don’t know where else I can try looking to fix things.

Any help or pointers are very much appreciated.

Update

If I replace

android:theme="@style/AppTheme"

in AndroidManifest.xml with

android:theme="@style/AppBaseTheme"

everything works fine (AppBaseTheme is the platform-dependent parent theme for the customized platform-independent AppTheme). It somehow looks as if the Android runtime is lazy and does not care to look for the the most specific version of AppBaseTheme, but always takes the one found in values/styles.xml

  • 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-16T05:37:52+00:00Added an answer on June 16, 2026 at 5:37 am

    Finally, after several unsuccessful cleans I took a different approach and tried to rename AppTheme to MyTheme (and updating the reference in AndroidManafest.xml accordingly). Now the app references the correct AppBaseTheme for each version of Android.

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

Sidebar

Related Questions

My Android app uses Button widgets with default style, which looks fine except on
so here is the problem. I am currently creating an Android app that is
I have a problem regarding Android App. I have created an application that download
What approach can I take to solve my problem such that my Android app
Problem: I am building Android app in Eclipse which uses shared lib libgstreamer-0.10.so (GStreamer-android
I've got an Android app that uses a WebView. At the startup of the
I'm developing for Android and I have an app (called Forget-Me-Not) that uses a
I have developed an android app that sends sms. My problem is that when
I have an Android App that uses a TabHost layout. Every tab calls the
I have accomplished developing an android app that uses the facebook sdk to integrate

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.