aspose file tools*
The moose likes Android and the fly likes Button tag is not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Button tag is not working " Watch "Button tag is not working " New topic
Author

Button tag is not working

shivam singhal
Ranch Hand

Joined: Jul 15, 2012
Posts: 226



only text box is display on the screen.. Button is not displaying??
Steve Luke
Bartender

Joined: Jan 28, 2003
Posts: 4181
    
  21

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.


Steve
shivam singhal
Ranch Hand

Joined: Jul 15, 2012
Posts: 226

okeys

how can i set linear layout to vertical?

thanks steve..
shivam singhal
Ranch Hand

Joined: Jul 15, 2012
Posts: 226

Yeah steve you are correct..
Now its working..

Thanks Steve..
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42276
    
  64
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.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Button tag is not working