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


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Mobile » Android
Reply 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: 157



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

Joined: Jan 28, 2003
Posts: 3036
    
    4

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: 157

okeys

how can i set linear layout to vertical?

thanks steve..
shivam singhal
Ranch Hand

Joined: Jul 15, 2012
Posts: 157

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

Thanks Steve..
Ulf Dittmer
Marshal

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


Android appsImageJ pluginsJava web charts
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Button tag is not working
 
Similar Threads
Have ways for remain previous layout in all pages?
how to add a scrollbar to a view
Layouts, bottom position
when i change android:orientation to horizontal it shows blank screen
regarding layout