• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Button tag is not working

 
shivam singhal
Ranch Hand
Posts: 231
Java Notepad Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


only text box is display on the screen.. Button is not displaying??
 
Steve Luke
Bartender
Posts: 4181
22
IntelliJ IDE Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I forget, is LinearLayout vertical or horizontal by default? If it is horizontal, then by setting theEditText's width to fill_parent you would be leaving no room for the button.
 
shivam singhal
Ranch Hand
Posts: 231
Java Notepad Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
okeys

how can i set linear layout to vertical?

thanks steve..
 
shivam singhal
Ranch Hand
Posts: 231
Java Notepad Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah steve you are correct..
Now its working..

Thanks Steve..
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm sure if you search for "android linearlayout tutorial" or some such phrase you will find the answer very quickly. Or just read the javadocs of the LinearLayout class.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic