xml - Strange dotted (not regular) line on some Android devices -


we have problem border on ex. layer. on devices (samsung galaxy s ii 4.1.2, samsung galaxy s+ 2.3, etc.) border rendered , on nexus 4.3 , samsung galaxy tab 4.0.4 instead of solid line got dashed (irregular) line.

we got (see screenshot above) on nexus 7 (4.3) - left line dashed (wrong) , top line solid (ok, it? antialias?). know why happening? these lines? it's antialiasing problem?

for example (code stackoverflow's post):

<?xml version="1.0" encoding="utf-8"?>    <layer-list xmlns:android="http://schemas.android.com/apk/res/android" >    <item>        <shape android:shape="rectangle" >            <solid android:color="#55111111" />            <padding                android:bottom="10dp"                android:left="10dp"                android:right="10dp"                android:top="10dp" />            <corners android:radius="5dp" />        </shape>    </item>    <item>        <shape android:shape="rectangle" >            <padding                android:bottom="5dp"                android:left="5dp"                android:right="5dp"                android:top="5dp" />            <solid android:color="#ff252525" />        </shape>    </item> </layer-list> 

enter image description here


Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -