Creating a custom round button in android
Can anyone help me out here. I am trying to create a small round button
that would represent a lottery ball using a very simple self created XML
class round_button.xml. However I keep getting the error over and over
even when Ive put the code through a w3schools validator that " Error
parsing XML: junk after document element." I cannot see what the issue is
here and maybe I am missing something very clear, I dont know. Could
anyone please help me out. Here is the code:
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="oval" />
<solid
android:color="#FF0000"
</shape>
No comments:
Post a Comment