I have this:
In drawable a file called: boton_redondo.xml whose content is:
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#F5D0A9"/>
<corners android:radius="20dip" />
</selector>
In the button that is included in the layout I have:
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Modificar"
android:paddingLeft="5dp"
android:paddingRight="5dp"
android:typeface="sans"
android:background="@drawable/boton_redondo"/>
The result is that the button appears only with the word Modify, with no background or anything, as if it were a TextView.
What am I doing wrong?
Thank you in advance.
Greetings