android - Textviews inside tabs -


i have 3 tabs. i'd know if tab can have more 1 textview.everytime try add new textview, if in different positions on screen, appear overlapped.

the details alligned on left , data alligned on right. can't write way want in here because don't how put tabs.

but idea like: on left perfect column name, login, address, etc... , on right side perfect column name, login, address, etc...

what i'd like, example:

|personal| -> tab

inside tab:

information

name: zoe shnoeder

login: zoe-shnd

address: ulisses street, london, uk

date of birth: 13/11/1990

contacts

telephone: 2134212

e-mail: zoeshn@hotmail.com

and if possible square around information , details , square around contacts , details, like

-contacts---------------------------

| telephone: 2134212 |

| e-mail: zoeshn@hotmail.com |

thanks in advance, rita

you need layout contain textviews. i'd suggest start with one
edit:

linearlayout layout = new linearlayout(this); layout.setorientation(linearlayout.vertical); textview nameview = new textview(this); nameview.settext("text"); layout.addview(nameview); textview anotherview = new textview(this); anotherview.settext("anothertextview"); layout.addview(anotherview); setcontentview(layout); 

consider make layout textviews in xml, , refer tutorial.


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -