Re: [android-developers] Android custom view (very basic)

2012-08-28 Thread Justin Anderson
Look at the logcat output... It should tell you why your app is crashing. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Aug 28, 2012 at 7:44 AM, Satya Komatineni < satya.komatin...@gmail.com> wrote: > Victor, > I am not entirely sure. But I can s

Re: [android-developers] Android custom view (very basic)

2012-08-28 Thread Satya Komatineni
Victor, I am not entirely sure. But I can suggest a couple of experiments to debug. May be inheriting a View directly is too simplisitic. Try inheriting a TextView first. And if it works then you can look at what other base methods of the "View" you will need to inherit. Take a look at this item f

[android-developers] Android custom view (very basic)

2012-08-28 Thread Victor Reboucas
Hi, I'm new to Android development and I'm trying to implement a custom view to act as a "custom menu button" for my app. I followed the instructions at http://developer.android.com/training/custom-views/create-view.html but by the end of the implementation I get a message saying "Unfortunate