【发布时间】:2012-08-20 08:05:40
【问题描述】:
我在 drawable-mdpi 中导入了一张图像,然后从按钮实现了图像,但出现错误no resource found here。我该如何解决这个问题?
我试过了:
main.xml
<Button
android:id="@+id/imageButtonSelector"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable-mdpi/button_focused_orange"/>
【问题讨论】:
-
由于您是新来的,您可以通过单击“勾选”小箭头来接受答案。这将提高您的接受率,甚至帮助面临类似问题的其他人
标签: android button background drawable