Saturday, October 10, 2009

[android-developers] Re: How to use a buildin drawable resource?

@android:drawable/ic_input_add

On Oct 10, 6:50 am, Victor Lin <borns...@gmail.com> wrote:
> I need to use some buildin drawable I found inhttp://developer.android.com/reference/android/R.drawable.html
>
> I set drawable @drawable/ic_input_add to a button in my layout xml
> file. The add icon appears on the button of layout editor. But there
> is a error of that xml file said that
>
> Description     Resource        Path    Location        Type
> ERROR Error: No resource found that matches the given name (at
> 'drawableLeft' with value '@drawable/ic_input_add').    spend_list.xml  /
> AccountBook/res/layout  line 5  Android AAPT Problem
>
> My question is, how to use a buildin drawable?
>
> Thanks.
> Victor Lin.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate