在drawable中找不到android eclipse资源图像

rab*_*ana 0 eclipse android drawable

错误:找不到与给定名称匹配的资源(在'background'处,值为'@ drawable/mydroidbg.png').

这是我的图像的位置:C:\ Users\Rogeross\Documents\ECLIPSE\MyFirstApp\res\drawable-hdpi\mydroidbg.png

这是main.xml代码:

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" 
android:background="@drawable/mydroidbg.png"  //error here
>


<TextView
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:text="TOTO ANDROID" 
    android:gravity="center"
    />

 <Button
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:text="PRESS ME!!"
    android:textSize="19dp"
    android:textStyle="bold"
     />

    </LinearLayout>
Run Code Online (Sandbox Code Playgroud)

我已经清理过,刷新了我的项目,但它仍然无法看到我的图像文件...请帮助....

Arn*_*rty 8

不要提及文件扩展名.使用:

android:background="@drawable/mydroidbg"
Run Code Online (Sandbox Code Playgroud)