I spent more time on it and it the method ViewRoot.draw throw a
nullpointer exception.
I implemented every compute method and add this code to enable
scrollbars :
setHorizontalScrollBarEnabled(true);
setScrollContainer(true);
setScrollBarStyle(View.SCROLLBARS_INSIDE_OVERLAY);
setScrollbarFadingEnabled(false);
Here is the stack trace :
Thread [<1> main] (Suspended (exception NullPointerException))
ViewRoot.draw(boolean) line: 1631
ViewRoot.performTraversals() line: 1329
ViewRoot.handleMessage(Message) line: 1944
ViewRoot(Handler).dispatchMessage(Message) line: 99
Looper.loop() line: 126
ActivityThread.main(String[]) line: 3997
Method.invokeNative(Object, Object[], Class, Class[], Class, int,
boolean) line: not available [native method]
Method.invoke(Object, Object...) line: 491
ZygoteInit$MethodAndArgsCaller.run() line: 841
ZygoteInit.main(String[]) line: 599
NativeStart.main(String[]) line: not available [native method]
Thanks for your help
--
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