I would like to make a frame around the TextView element, create an xml file to describe the frame, its size and color. Therefore, I added it to the already created element as android:backgorund"@drawble/rounded" , but there is still no frame when launching the application
Description frame xml
<?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <shape android:shape="rectangle" > <solid android:color="#FFF" /> <corners android:radius="20dp" /> <stroke android:width="5dip" android:color="#A5D" /> </shape> </selector> xml description of the element itself
<TextView android:id="@+id/textView1" android:layout_width="104dp" android:layout_height="58dp" android:layout_margin="30dp" android:background="@drawable/rounded" android:padding="30dp" android:text="Кошка, которая гуляла сама по себе" android:layout_marginLeft="8dp" app:layout_constraintLeft_toLeftOf="parent" android:layout_marginRight="8dp" app:layout_constraintRight_toRightOf="parent" android:layout_marginBottom="73dp" app:layout_constraintBottom_toTopOf="@+id/button2" app:layout_constraintHorizontal_bias="0.556" android:layout_marginTop="8dp" app:layout_constraintTop_toBottomOf="@+id/Opisanietxt" /> Please explain where I am wrong, but I really do not understand, everything seems to be correct.