• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Controls not moving in Graphiocal Layout

 
amrut sabade
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hii Everyone i am new to android app development
i am trying to build sample app while creating View for activity in graphical layout editor i am enable to move the contriols that i dragged,
is it possible to move them to at any location?
please help me
 
zoheb hassan
Ranch Hand
Posts: 154
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you mean to say unable to move the contriols that i dragged, Well first off its possible to drag them anywhere but that depends on Orientation and gravity of your View, I anycase the graphical editor is not a reliable one to build views you need to use XML instead
 
amrut sabade
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hii Zoheb,
ya i know the recommended way is to code in xml but i was just trying if it was possible? how i should adjust the gravity and orientation of the view?
 
amrut sabade
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey i set the orientation as vertical and if i set gravity as centre_Horizontal still i and not able to move it ,
once i drag it it goes to Centre_Horizontal and dosent move from there,
 
zoheb hassan
Ranch Hand
Posts: 154
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is a book called Begining Android2 try it, it does very well explaining about views
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic