how to add buttons at the bottom of the screen and edit text

Put your problem here if it does not fit any of the other categories.

how to add buttons at the bottom of the screen and edit text

Postby pranay » Thu Mar 10, 2011 10:34 am

i want to create a page ,in such a way that a list should come in which first two columns,shows product name and its cost,and the third column should be an edit text to fill quantity.the data(product name,and cost) will come from database and after entering the cost and tapping submit button,it should go back to database,moreover i need three buttons at the bottom of the page.How many table should i create and how???i am a newbie to android programming,plz help
pranay
Once Poster
Once Poster
 
Posts: 1
Joined: Thu Mar 10, 2011 10:25 am

Top

Re: how to add buttons at the bottom of the screen and edit

Postby raj_J2ME » Thu Mar 10, 2011 1:00 pm

You can use the TableLayout.
The TableLayout groups views into rows and columns. You use the <TableRow> element to designate a row in the table. Each row can contain one or more views. Each view you place within a row forms a cell. The width for each column is determined by the largest width of each cell in that column. I think that this link can be of some help.
http://mobiforge.com/designing/story/understanding-user-interface-android-part-1-layouts
Thanks with Regards,
Raj - The Kernel
raj_J2ME
Master Developer
Master Developer
 
Posts: 311
Joined: Tue Feb 15, 2011 7:40 am
Location: The Capital of India,

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 17 guests