[android-developers] using custom views in xml layouts

2012-03-06 Thread chowdary nani
Hi All, i am working with custom views using in xml layouts Following is my custom view code: public class CustomTextView extends View { private int m_nColor; private Typeface m_tTypeface; private int m_nSize; private int m_nRotationAngle, m_nRotationW, m_nRotationH;

Re: [android-developers] using custom views in xml layouts

2012-03-06 Thread Todd Grigsby
Not specific enough. Have you stepped through this code in debug to see what line is giving you the problem? On Mar 6, 2012 1:07 AM, chowdary nani naveenneeli...@gmail.com wrote: Hi All, i am working with custom views using in xml layouts Following is my custom view code: public class

Re: [android-developers] using custom views in xml layouts

2012-03-06 Thread Justin Anderson
http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/view/LabelView.html http://developer.android.com/resources/samples/ApiDemos/res/layout/custom_view_1.html The first link is a sample of a custom class and the second is a sample of how to use that custom class in

Fwd: [android-developers] using custom views in xml layouts

2012-03-06 Thread chowdary nani
-developers] using custom views in xml layouts To: android-developers@googlegroups.com http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/view/LabelView.html http://developer.android.com/resources/samples/ApiDemos/res/layout/custom_view_1.html The first link is a sample

[android-developers] Using Custom Views in XML

2010-08-16 Thread michaelaquil...@gmail.com
Hi guys, im having a problem getting a custom view that i created on the xml layout file. i have a class named DrawingLayout which extends FrameLayout it is found in the package Drawing as stated on this page http://developer.android.com/guide/topics/ui/custom-components.html i used the

Re: [android-developers] Using Custom Views in XML

2010-08-16 Thread Filip Havlicek
I suppose you should post the xmls. 2010/8/16 michaelaquil...@gmail.com michaelaquil...@gmail.com Hi guys, im having a problem getting a custom view that i created on the xml layout file. i have a class named DrawingLayout which extends FrameLayout it is found in the package Drawing as

Re: [android-developers] Using Custom Views in XML

2010-08-16 Thread Kostya Vasilyev
Michael, Is Drawing your full package name? Sounds like it's not. Unlike other places (e.g. the manifest), you need to use fully-qualified class names in layout files. So if your application is defined in (for example) package named org.MichaelAquilina.EZPaint, and your DrawingLayout in