Try "com.pedroteixeira.thennnow.Cameraview$compassLook". On Fri, Sep 10, 2010 at 4:47 PM, Pedro Teixeira <[email protected]> wrote: > Hi there, I have a class which is called cameraView and inside I have > another which is called compassLook...goes like this: > > public class compassLook extends View { > > private float direction = 0; > etc etc > > I use the compassLook view in my cameraView layout... I'm able to make > this work fine in separate activities ..but the thing is I'd like to > change the value ''direction'' with values generated in > Cameraview.class so I've placed the class compassLook inside the > cameraView class... > > The thing is I don't know how to work this out in XML anymore... This > is how it used to be when it worked fine and when I used separate > classes: > > <view > class="com.pedroteixeira.thennnow.compassLook" > android:id="@+id/mycompassview" > android:layout_width="100dp" > android:layout_height="50dp" > android:layout_alignParentBottom="true" > android:layout_alignParentLeft="true"/> > > > How can I access that view now? Is there any specific syntax for this > cases in the XML ? > > -- > 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 >
-- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in London: http://skillsmatter.com/go/os-mobile-server -- 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

