This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Android and the fly likes Trying to programatically position an image Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Trying to programatically position an image" Watch "Trying to programatically position an image" New topic
Author

Trying to programatically position an image

Chuck Jagger
Greenhorn

Joined: Aug 24, 2011
Posts: 4
I've been trying to programatically position an image. I've got the XML working, and can do it in the XML, but I can't seem to make it work in the code. The program runs just fine, but just keeps putting the diamond in the upper left hand corner of the screen. What am I doing wrong?




 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Trying to programatically position an image
 
Similar Threads
odd framelayout/surfaceview problem
Layout issue-footer image to the bottom of screen (Landscape & portrai) irrespective of body content
how to put layout in middle of the screen?
Need Help on the scrolling Bar in Android?
Layout question.