Buttons now use drawable padding (via InsetDrawable) to have some margins between them

This commit is contained in:
serso
2015-02-05 14:39:16 +01:00
parent c85f5a2f25
commit c5748e2d94
26 changed files with 178 additions and 101 deletions

View File

@@ -22,10 +22,16 @@
~ Site: http://se.solovyev.org
-->
<shape xmlns:a="http://schemas.android.com/apk/res/android">
<gradient
a:startColor="#520546"
<inset xmlns:a="http://schemas.android.com/apk/res/android"
a:insetBottom="@dimen/cpp_button_padding"
a:insetLeft="@dimen/cpp_button_padding"
a:insetRight="@dimen/cpp_button_padding"
a:insetTop="@dimen/cpp_button_padding">
<shape>
<gradient
a:angle="90"
a:endColor="#8a307c"
a:angle="90"/>
<corners a:radius="0dp"/>
</shape>
a:startColor="#520546" />
<corners a:radius="0dp" />
</shape>
</inset>