It's strange because even in the android documentation says the syntax is class$innerclass but it's giving me an Inflate Exception:

09-10 22:31:34.206: ERROR/AndroidRuntime(1776): java.lang.RuntimeException: Unable to start activity ComponentInfo {com.pedroteixeira.thennnow/com.pedroteixeira.thennnow.cameraView}: android.view.InflateException: Binary XML file line #40: Error inflating class com.pedroteixeira.thennnow.cameraView$compassLook


On Sep 10, 2010, at 10:27 PM, Kostya Vasilyev wrote:

Perhaps you can try creating a non-nested class that extends the nested one. Just a stub, so you can reference it by name in the XML file.

Not sure if the Java compiler actually allows this, but it should only take a few minutes to try out...

--
Kostya Vasilyev -- http://kmansoft.wordpress.com


11.09.2010 1:21 пользователь "Pedro Teixeira" <[email protected] > написал:

didn't work :/



On Sep 10, 2010, at 9:51 PM, Mark Murphy wrote:

> Try "com.pedroteixeira.thennnow.Cameraview$com...

Pedro Teixeira

www.pedroteixeira.org

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group...



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

Pedro Teixeira

www.pedroteixeira.org

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

Reply via email to