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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T16:40:34+00:00 2026-06-01T16:40:34+00:00

There is an interesting issue I stumbled upon while working on an Android Honeycomb

  • 0

There is an interesting issue I stumbled upon while working on an Android Honeycomb project. As you can see in the image below, while expanding a Spinner in a dialog, the navigation bar at the bottom overlaps it. Thus, the element at the bottom can not be selected.

In order to fix this I tried using android:fitsSystemWindows="true" in the Spinner widget. It did not work. Also I noticed that we have an XML Attribute for dropdown width, android:dropDownWidth, but none for height.

Navigation Bar overlapping Spinner

Here is the XMl layout for the 3 Spinners:

    <TableRow>

        <Spinner
            android:id="@+id/order_dialog_category_code_Spinner"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:fitsSystemWindows="true" />

        <Spinner
            android:id="@+id/order_dialog_packing_code_Spinner"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:fitsSystemWindows="true" />

        <Spinner
            android:id="@+id/order_dialog_product_Spinner"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:fitsSystemWindows="true" />
    </TableRow>

I will keep testing and hope to find a solution soon but it is an interesting issue and it deserved to be posted.

I did not test in Android ICS yet but I think it might act the same.

EDIT

I managed somewhat of a fix by using the android:layout_marginBottom attribute for the Spinners. It did solve the issue but now I have the margin in the dialog view as well and I don’t want that.

Spinner overlapping temporary fix

Does anyone know how to set the margin only for the dropdown resource?

  • 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-01T16:40:36+00:00Added an answer on June 1, 2026 at 4:40 pm

    After some more research it seems that you can not manipulate the height of the Spinner dropdown, or any other of it’s layout attributes.

    This is because the dropdown is actually a popup dialog that cannot be accesed from the Spinner View.

    This answer states it clear: https://stackoverflow.com/a/1918655/529138

    So it seams that I have to use android:layout_marginBottom as specified in the question.

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

Sidebar

Related Questions

I stumbled upon an interesting error that I've never seen before, and can't explain
there's this interesting problem i can not solve myself. I will be very glad,
I'm working with an off-the-shelf application at my company and there is an interesting
Today I stumbled upon a rather interesting compiler error: int main() { int const
I stumbled on an interesting issue today. In the context of a single file
I ran into an interesting Issue today working on a Wall Feed Plugin. A
I met an interesting issue about C#. I have code like below. List<Func<int>> actions
While there are many samples around about using OpenGL ES on Android all of
While doing a lot of benchmarking stuff these days, I stumbled upon something very
Important Update: See update 5 at the bottom there is no performance issue in

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.