hi, How to html table with rows and columns in webview in Android. Can I have one sample Example
Thank you
hi, How to html table with rows and columns in webview in Android. Can I have one sample Example
Thank you
Create an HTML template
String myTable = "<table border=1>" +
"<tr>" +
"<td>row 1, cell 1</td>" +
"<td>row 1, cell 2</td>" +
"</tr>" +
"<tr>" +
"<td>row 2, cell 1</td>" +
"<td>row 2, cell 2</td>" +
"</tr>" +
"</table>";
and load into your WebView
myWebView.loadDataWithBaseURL(null, myTable, "text/html", "utf-8", null);