There are markings for rounding corners for the element. The project is located in the drawable directory called rounded_button_today.xml
<?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"> <corners android:bottomRightRadius="10dp" android:bottomLeftRadius="10dp" android:topRightRadius="10dp" android:topLeftRadius="10dp"/> </shape> BUT an error appears informing me that my color should start with # but I basically have no color, what's wrong ?:
java.lang.NumberFormatException: Color value 'C:\Users\VorobeyAlex\AndroidStudioProjects\LoginApp\app\src\main\res\drawable\rounded_button_today' must start with #
drawablethisdrawable? and sobsno what do you round corners? you have neither fill nor stroke, nothing to round the corners ... - xkorshapeonly angles ofshape, but for this it should have not only rounding but also something that has these angles - fill, gradient and / or frame. And already on the button or on what other view thisdrawablewill then be used is not important. - xkor