レイアウトファイルに追加してstyleのを変更する方法を示すチュートリアルを見つけました。Buttonandroid:background="@drawable/btn_green"xml
私は追加しようとしました:
<Button
android:id="@+id/my_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/hello"
android:background="@drawable/btn_green"/>
xmlファイルに次のようなエラーが表示されますerror: Error: No resource found that matches the given name (at 'background' with value '@drawable/btn_green').
チュートリアルは、私がする必要があると言いましたimport the Backgrounds project into Eclipse by choosing the Import option from the File menu.
行ってみFile > Importましたが、背景と関係があるものが見つかりません。
誰かが私がする必要があることを提案できますか?