Note that there are some explanatory texts on larger screens.

plurals
  1. POWebView justify text not correct on Galaxy Nexus
    text
    copied!<p>My application use webview to display contect which I parse from website. The problem happen when user use my app on galaxy nexus(may be cause 1280*720 resolution)</p> <p>my tag is just simple use text-align:justify;. and here is my webview config</p> <pre><code> WebView web = (WebView) root.findViewById(R.id.webView); web.loadDataWithBaseURL(null,content, "text/html", "utf-8",null); web.getSettings().setUseWideViewPort(true); web.getSettings().setLoadWithOverviewMode(true); web.getSettings().setBuiltInZoomControls(true); </code></pre> <p>here is my xml layout for webview</p> <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:ads="http://schemas.android.com/apk/lib/com.google.ads" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" android:id="@id/root" android:gravity="center_horizontal"&gt; &lt;WebView android:id="@+id/webView" android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="1" &gt; &lt;/WebView&gt; &lt;com.google.ads.AdView android:id="@+id/ad" android:layout_width="wrap_content" android:layout_height="50dp" ads:adSize="BANNER" ads:adUnitId="a14fd0c4bb5aa9f" ads:background="@drawable/bg_main_repeat" ads:primaryTextColor="#FFFFFF" ads:secondaryTextColor="#CCCCCC" /&gt; &lt;/LinearLayout&gt; </code></pre> <p>I test my app on Sony Xperia P(Android 2.3) no problem found. and test on emulator 4.0 with 800*480 no problem found too.</p> <p>my problem show in : <a href="http://images.droidsans.com/sites/default/files/Screenshot_2012-06-14-21-53-11.png" rel="nofollow">http://images.droidsans.com/sites/default/files/Screenshot_2012-06-14-21-53-11.png</a> user need to double tap to zoom the text fit screen.</p> <p>what should i do? please help me</p> <p>PS. sorry for my poor English. I'm not a native speaker.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload