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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T03:41:15+00:00 2026-05-19T03:41:15+00:00

I have a ListView with a divider of 1pd thickness. But somehow every second

  • 0

I have a ListView with a divider of 1pd thickness. But somehow every second divider in the ListView is thicker then the others …as you can see on the picture

alt text

the code of the ListView is real simple :

 <ListView 
         android:id="@+id/directoriesListView"
         android:choiceMode="singleChoice"
         android:clickable="true"
         android:layout_weight="2.5"
         android:cacheColorHint="@null"
         android:footerDividersEnabled="false"
         android:fadingEdge="none"
         style="@style/ListView_NarrowItems"
         />

and the style :

<style
    name="ListView_NarrowItems"
    >
    <item name="android:layout_width">fill_parent</item>
    <item name="android:layout_height">fill_parent</item>
    <item name="android:textColor">#FFFFFF</item>
    <item name="android:background">#000000</item>
    <item name="android:divider">#FFFFFF</item>
    <item name="android:dividerHeight">1px</item>
</style>

any idea what is wrong ?

  • 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-05-19T03:41:16+00:00Added an answer on May 19, 2026 at 3:41 am

    Android is scaling your activity. Add the appropriate <supports-screens> element to your manifest, set to indicate what screen sizes you are handling, and this effect should disappear.

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

Sidebar

Related Questions

I have a fixed height ListView . It has divider between list items, but
How can I set the width of my custom ListView divider, in order to
I have added a divider as images to list view. but it is not
I have a ListView with a custom divider. Divider is just some color and
I have a ListView with BaseAdapter. In XML, I specified item divider as red
I added a divider drawable to my listview but it appears for all the
If footer view added in ListView, then divider disappears from last item of ListView.
How can I convert my 6x &nbsp; to CSS I have the <ul data-role=listview
I have PreferenceActivity with several PreferenceGroup. The ListView doesn't show a divider above and
I want to have a divider at the top of a ListView (which is

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.