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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T06:44:40+00:00 2026-06-12T06:44:40+00:00

I have a problem where the spinner I use display correctly in the emulator

  • 0

I have a problem where the spinner I use display correctly in the emulator but incorrectly on the phone.

This can best be illustrated with this screen shot taken from the phone (notice the light grey background behind the words ‘App Priorities 1’):

Incorrect spinner theme displayed on phone

What it’s supposed to look like is like this (taken from the emulator). Here is the text is white and the background black as it should be.

Correct spinner theme displayed on emulator

I’m not sure what all the relevant parts of the code is, but I have a folder called values-v14 that contains a single file called styles.xml. The file’s contents is:

<resources>
<style name="AppTheme" parent="android:Theme.Holo.Light.DarkActionBar" />
</resources>

This is the spinner XML:

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/RelativeLayout1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="fill_horizontal"
android:orientation="vertical" >

<TextView  
    android:id="@android:id/text1"
    style="?android:attr/spinnerItemStyle"      
    android:singleLine="true"
    android:layout_width="150dip"
    android:layout_height="wrap_content"
    android:layout_alignParentLeft="true"
    android:layout_alignParentTop="true"
    android:textAppearance="?android:attr/textAppearanceMedium"
 />

</RelativeLayout>

I’m not sure if the manifest is relevant, but I have this in there:
android:minSdkVersion="15"
android:targetSdkVersion="15"

I tried setting the version to 14 but that didn’t make any difference.

UPDATE: After adding android:theme="@style/AppTheme" to the Manifest both the emulator and the phone has consistent behavior. The action bar is now dark as it should be. But all the lists have a white background!

Now lists color are incorrect!

  • 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-12T06:44:42+00:00Added an answer on June 12, 2026 at 6:44 am

    Change your AppTheme to Theme.Holo instead of Theme.Holo.Light.DarkActionBar and you’ll get your dark background back.

    Theme.Holo.Light.DarkActionBar is the same as Theme.Holo.Light (light colored everything) just with, you guessed it, a darker ActionBar.

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

Sidebar

Related Questions

I'm developing an Android application with a spinner. I have this problem: This is
I have an ArrayList() that I want to display as a Spinner. Problem is,
I have a problem like I had a Spinner containing the Names of all
I have problem with my query on C, I’m using the oci8 driver. This
I have problem SIMILAR to preventing form data reposting, but not quite the same
I have a problem with my ListActivity, i use a thread to show a
I have this problem. I read with BufferedReader text from one system file, this
I do have a problem with IToolbarManager. I have added a combo & spinner
OK here is my problem. I have a spinner and every option in spinner
I have a problem with a progressbar spinner: ProgressBarSpinner spinner = new ProgressBarSpinner(); spinner.execute(Spin);

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.