I am using the following code to display content in webview.
mMessageContentView.setText(emailText, contentType);
mMessageContentView.scrollTo(0, 0);
mMessageContentView.getSettings().setUseWideViewPort(true);
mMessageContentView.getSettings().setJavaScriptEnabled(true);
It is displaying properly in nexus one,samsung player etc,but it is not displaying in Samsung s2(4.0.1),Samsung Nexus(4.2.1)
Here i am attaching the Screen shots of both(Nexus one,Google nexus)
).
I observed that , In some devices like Samsung Galaxy S2,S3 etc Webview displays the Table in a single column. So i applied the following code to chage the Webview Table setting as Normal.
Then it is displaying in Correct format in all the devices.