U can use findViewById() to get the view, n then use android.R.* in the java
class associated.
Dunno a soln in XML.
Sujay


On Sat, Oct 10, 2009 at 4:20 PM, Victor Lin <[email protected]> wrote:

>
> I need to use some buildin drawable I found in
> http://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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to