<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
<item android:left="5dp" android:top="5dp" android:right="5dp" android:bottom="5dp" >
<shape android:shape="rectangle" >
<solid android:color="#ed145b" />
</shape>
</item>
<item>
<shape android:shape="rectangle" >
<stroke
android:width="4px"
android:color="#ed145b" />
<size
android:height="20dp"
android:width="20dp" />
</shape>
</item>
Solved my problem by adding padding to the item not to the shape.