I am getting this error
"Android resource linking failed C:\Users\xervice111\AndroidStudioProjects\ud843-QuakeReport-starting-point\app\src\main\res\layout\list_item.xml:10: error: resource drawable/magnitude_circle (aka com.example.android.quake
report:drawable/magnitude_circle) not found. error: failed linking file resources."
This is the errorAfter I added a drawable resource file named "magnitudeCircle.xml". I have done things like clean project, rebuild project, Invalidate and restart etc but the error is still there ...
This is my magnitubeCircle.xml file
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<!-- Background circle for the magnitude value -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="oval">
<solid android:color="@color/magnitude1" />
<size
android:width="36dp"
android:height="36dp" />
<corners android:radius="18dp" />
</shape>
Try This
<?xml version="1.0" encoding="utf-8"?>
<!-- Background circle for the magnitude value -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="oval">
<solid android:color="@color/magnitude1" />
<size
android:width="36dp"
android:height="36dp" />
<corners android:radius="18dp" />
</shape>