petter wrote:
> In my application I dynamically create buttons, but it would be better
> if I could specify a button in the resource file and then clone it to
> inherit its style, size, etc. But how do you clone a button or other
> view object? I've tried to call .clone() but I seem to get all sorts
> of errors and warnings, probably because I'm not casting in the right
> order.


use LayoutInflater

pskink

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to