Friday, December 11, 2009

Re: [android-developers] view inside a customView

You need to extend ViewGroup so you can be container of other Views.

On Fri, Dec 11, 2009 at 4:22 AM, Atif Gulzar <atif.gulzar@gmail.com> wrote:

Is it possible to use standard views inside your custom defined views. e.g. use ImageView in my class that is extended form View ?

Or is it possible to use one custom view inside another custom view? Actually I have animations defined in xml view which I want to apply on some of the images. But predefined animations can only be applied to views. 


The scenario is,  I want to animate (rotating, glowing, etc ) some of the chips  on a board. User can also drag these chips through touch events. And I do not want to refresh my complete board just to rotate few chips on it. All my animations are defined in xml files. Looking for some pointers. Thanks
 


--
Best Regards,
Atif Gulzar

I ◘◘◘◘ Unicode, ɹɐzlnƃ ɟıʇɐ

--
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



--
Dianne Hackborn
Android framework engineer
hackbod@android.com

Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails.  All such questions should be posted on public forums, where I and others can see and answer them.

--
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