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>
why there different color on corners?
Comments
Post a Comment