Android Forum » Android Developer Forum » Android Developer Forum » How to insert table of text into EditText

How to insert table of text into EditText

How to insert table of text into EditText
created on Apr 5, 2012 8:46:33 AM
Hi all,
I want to insert a table like MS Office word table into my EditText. My edittext contains many characters and paragraphs before inserting the EditText. I tried to create a custom EditText, but on onDraw() method, I dont know how to draw the table.
Pls give me the best solution for this.
Thanks.
Reply with quote Reply Link ±0     (0 votes)
RE: How to insert table of text into EditText
created on Apr 24, 2012 4:07:13 AM
I think the easiest way to do this would be to save your Word table as an .html file. Then use a android web view to display the table. http://developer.android.com/reference/android/webkit/WebView.html
Reply with quote Reply Link ±0     (0 votes)
RE: How to insert table of text into EditText
created on Feb 4, 2013 1:26:37 PM
either use grid layout or table layout with weight.

brief your requirement
Reply with quote Reply Link ±0     (0 votes)