Experimental change - ask android to try to make columns no wider than

the viewport. This change should NOT be backported to 3.2, but I'd like
folks to try it with real email.
This commit is contained in:
Jesse Vincent 2010-10-23 18:50:54 +00:00
parent 43cb54594b
commit 62caa5ce76

View file

@ -889,6 +889,8 @@ public class MessageView extends K9Activity implements OnClickListener
if (K9.mobileOptimizedLayout())
{
webSettings.setLayoutAlgorithm(WebSettings.LayoutAlgorithm.SINGLE_COLUMN);
} else {
webSettings.setLayoutAlgorithm(WebSettings.LayoutAlgorithm.NARROW_COLUMNS);
}
webSettings.setTextSize(mFontSizes.getMessageViewContent());