skip to Main Content

Android Studio – Why the button doesn't get all the attributes from xml

I have created a xml file called round_button. It's a simple circular button with a gradient. Here is the simple code <?xml version="1.0" encoding="utf-8"?> <shape android:shape="rectangle" xmlns:android="http://schemas.android.com/apk/res/android"> <corners android:radius="3000dip" /> <gradient android:type="linear" android:startColor="#8dbab3" android:endColor="#0DCAAC" /> </shape> And that's the output:…

VIEW QUESTION
Back To Top
Search