On Tue, Sep 21, 2010 at 4:51 PM, Peter Carpenter <[email protected]> wrote: > It's not hard - just lots of maths.... > > Android gives some vague documentation here: > http://developer.android.com/guide/topics/ui/custom-components.html > > I've provided a sample class that does its own layout - it's not pretty, but > should give you an idea of what's involved. I've no idea how you'd create a > generic layout that you can use in your xml or eclipse layout editor - sorry. > Hopefully someone else can provide a few tips on how to do this.
Any custom view can be used in XML. Just use the fully-qualified class name as the XML node. It should even render in the layout editor in Eclipse (It probably won't appear in the palette though) Xav -- Xavier Ducrohet Android SDK Tech Lead Google Inc. Please do not send me questions directly. Thanks! -- 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

