Simplest way to create a Shape in Android Studio -


what easiest way create circle in android studio (1.2)?

i understand can through using canvas code or writing xml code somewhere, seems complex. none of guides on internet seem provide simple way. simple drag-and-drop menu in design view of android studio, jus tlike widgets.

been searching of today, can imagine how frustrating incredibly simple thing is.

the best way create circle in android using xml drawable.

they don't have exact circle shape, oval shape same job

<?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="oval" >     <solid android:color="#000000"/> </shape> 

Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -