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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T06:11:47+00:00 2026-06-06T06:11:47+00:00

I need to customize my android spinner. For this I created this spinner_selector.xml :

  • 0

I need to customize my android spinner. For this I created this spinner_selector.xml :

<selector xmlns:android="http://schemas.android.com/apk/res/android">
    <item
        android:state_window_focused="false" android:state_enabled="true"
        android:drawable="@drawable/spinner_default" />
    <item
        android:state_window_focused="false" android:state_enabled="false"
        android:drawable="@drawable/spinner_default" />
    <item
        android:state_pressed="true"
        android:drawable="@drawable/spinner_pressed" />
    <item
        android:state_focused="true" android:state_enabled="true"
        android:drawable="@drawable/spinner_focused" />
    <item
        android:state_enabled="true"
        android:drawable="@drawable/spinner_default" />
    <item
        android:state_focused="true"
        android:drawable="@drawable/spinner_focused" />
    <item
        android:drawable="@drawable/spinner_default" />
</selector>

and then set the background of spinner : android:background="@drawable/spinner_selector"

The problem is that the spinner looks really horrible. Before : http://i45.tinypic.com/2yjyavk.png

After :

enter image description here

and when it is pressed, it looks like this :

The image that I use is this :

enter image description here

How to solve this? I have this problem for Spinner, Button and EditText too. I really need to customize these components. Please help. Any idea is welcome.

  • 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-06T06:11:48+00:00Added an answer on June 6, 2026 at 6:11 am

    To align text to right a bit, you can use padding in your XML please give Padding to the Spinner like this for ex: android:padding=5dp

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

Sidebar

Related Questions

Im using a customized webview as follows <merge xmlns:android=http://schemas.android.com/apk/res/android xmlns:MyWebView=http://schemas.android.com/apk/res/com.mds.android.mireader.webview android:background=#FFFFFF android:layout_height=fill_parent android:layout_width=fill_parent> <com.mds.android.mireader.webview.MyWebView
I need to customize the combobox widget build from the jQuery UI Autocomplete http://jqueryui.com/demos/autocomplete/#combobox
I have tons of ajax components on this booking engine. I need to customize
I'm using this library project in my Android application. But I need to make
Hi I try to customize a seekbar. Here's my Problem: main.xml ... <SeekBar android:id=@+id/seekBar1
I need to customize Solr highlighting prefix and suffix like this: <span class=highlight>text</span> instead
I need to customize the android.widget.Gallery . Where can I download the source code?
I need to customize the validation message style. The way I am approaching this
Which files i need edit and learn to customize the android desktop, such: change
I am using Able Commerce and need to customize the Customer Order Notification email

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.