Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

putting circle in a rectangle  RSS feed

 
bryan lim
Ranch Hand
Posts: 140
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,

maybe it's too simple. but i need help.
how do i put a circle inside a rectangle when a rectangle don't have a var content?
i need to have the circle be contained/placed inside a rectangle visually and when i drag the rectangle, circle follow.
thanks!

 
Jim Clarke
author
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not sure exactly what you are trying to do, but perhaps Stack will help you.
By default, the nodes are centered.

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!