Hi,
I am brand new to the android development, please help me with the following problem if you have any idea.
I built color.xml under the rec directory,
<?xml version="1.0" encoding="UTF-8"?>
<resources>
<drawable name="darkgray">#808080FF </drawable>
<drawable name="white">#FFFFFFFF </drawable>
</resources>
however, in main.xml, the following line has error, telling that @drawable/white could not be found.
android:background="@drawable/white"
my main.xml is as follows:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/white" //this line has problem
>
Thank you.
Regards,
john