Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Android: ListView dividers not rendering consistently - Looking for work around...

$
0
0

In Android it appears as if the ListView divider is not rendering consistent colors. It is very noticeable on a Samsung Galaxy Note 3; however occurs on my devices and Android OSs. As a point, this is not the only ListView this is occurring in my app, and it happens in GenyMotion as well as physical devices.

In attempts to work around the issue, I tried to override the theme using a red background shape like thus:

    <style name="Custom.Holo" parent="android:Theme.Holo">
        <item name="android:listDivider">@drawable/list_divider</item>
      </style>

Which helps visualize the scenario much better:

I also tried overwriting the listDivider variable with private holo theme styles and the result was the same.

  • XF 1.2.3
  • Devices (Any, more visible the higher dpi)
  • Android OS (4.0.4 - 4.4.4)

Any help (bug fix or work around) sure would be appreciated!

-Max


Viewing all articles
Browse latest Browse all 58056

Trending Articles