0

enter image description here

I would like to create a button like the "default button" refered to the image. Here is my code , the problem is that it doesn't like a shadow but a solid border. How to fix it? Thanks

<item>
    <shape>
        <solid android:color="#000000" />

        <corners android:radius="7dp" />
    </shape>
</item>
<item
    android:bottom="2dp"
    android:left="2dp"
    android:right="2dp"
    android:top="2dp">
    <shape>
        <solid android:color="#811E19" />

        <corners android:radius="5dp" />
    </shape>
</item>

user782104
  • 13,233
  • 55
  • 172
  • 312

0 Answers0