Hello all, I'm very new to android development, and I'm coming from a php/web development background. For my first exercise, I'm trying to draw a gauge face and a needle, and be able to rotate that needle to whatever direction I want (not dynamically, just by changing the angle in code and recompiling) I'm running into a problem that is 2-fold:
1, If I build the layout programmatically using LinearLayout, I can rotate the needle, but I cannot manage to get the needle to sit in the proper position on top of the gauge, in fact, I can't seem to be able to control the position of either image at all. I looked into using AbsoluteLayout, but that is depricated. 2. If I use the xml layout, I can position the gauge and needle exactly where I want them, but I cannot seem to access the needle programmatically to rotate it. I have tried setting android:@+id and using getById, but that doesn't do anything, although it doesn't throw an error either. Does anyone have any tips or references or examples on how to accomplish this seemingly easy task? Thanks, Keith -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en

