Home

Published

- 1 min read

android drawable shape with outline

img of android drawable shape with outline

The solution for this is noted below

android drawable shape with outline

Solution

   <shape xmlns:android="http://schemas.android.com/apk/res/android">
  <stroke android:width="2dp" android:color="#D0CFCC" />
  <solid android:color="#F8F7F5" />
  <corners android:radius="10dp" />
  <padding android:left="2dp" android:top="2dp" android:right="2dp" android:bottom="2dp" />
</shape>

Try other methods by searching on the site. That is if this doesn’t work