I created an Oval Shape and set the sizes 56px for each height and width. but i had an Oval Shape not a circle! when i set the sizes to 78px for each i get an exact circle! Anyone noticed or faced this issue? Solutions please!
clear_test.xml this gives me an Oval shape! different Height and Width in the layout
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="oval">
<solid android:color="#7caf00"/>
<size android:width="56px"
android:height="56px"/>
</shape>
calc_test.xml But this gives an exact circle
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="oval">
<solid android:color="#7caf00"/>
<size android:width="78px"
android:height="78px"/>
</shape>