How to define a circle shape in an Android XML drawable file? - Stack Overflow
Fri May 27 2022 19:15:01 GMT+0000 (Coordinated Universal Time)
Saved by
@Coder_x
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android="http://schemas.android.com/apk/res/android"
// here define the shape
android:shape="oval">
<solid
// here define your color
android:color="#666666"/>
<size
// here define your shape size
android:width="120dp"
android:height="120dp"/>
</shape>
content_copyCOPY
https://stackoverflow.com/questions/3185103/how-to-define-a-circle-shape-in-an-android-xml-drawable-file
Comments