android - Button background layer list not drawing properly -


i have defined layer-list drawable background button, it's not displayed correctly, here's code , resulting image

<layer-list xmlns:android="http://schemas.android.com/apk/res/android">     <item>         <shape android:shape="rectangle">             <corners android:radius="@dimen/button.login.radius" />             <solid android:color="#33455964"/>         </shape>     </item>      <item android:bottom="5dp">         <shape android:shape="rectangle">             <corners android:radius="@dimen/button.login.radius" />             <solid android:color="#26a69a" />         </shape>     </item> </layer-list> 

resulting style

why there different color on corners?

looks perfect on emulator (nexus s api level 19):

enter image description here

seems bug in preview.


Comments

Popular posts from this blog

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

html - Outlook 2010 Anchor (url/address/link) -

android - How to create dynamically Fragment pager adapter -