enable zoom controls in article webview, bump version
This commit is contained in:
parent
80a234cc15
commit
eb2d8f4ad5
@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="org.fox.ttrss"
|
||||
android:versionCode="43"
|
||||
android:versionName="0.3.10" >
|
||||
android:versionCode="44"
|
||||
android:versionName="0.3.11" >
|
||||
|
||||
<uses-sdk android:minSdkVersion="7" />
|
||||
|
||||
|
@ -24,6 +24,7 @@ import android.view.MotionEvent;
|
||||
import android.view.View;
|
||||
import android.view.View.OnClickListener;
|
||||
import android.view.ViewGroup;
|
||||
import android.webkit.WebSettings;
|
||||
import android.webkit.WebView;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.TextView;
|
||||
@ -106,9 +107,9 @@ public class ArticleFragment extends Fragment {
|
||||
String cssOverride = "";
|
||||
|
||||
|
||||
//WebSettings ws = web.getSettings();
|
||||
//ws.setSupportZoom(true);
|
||||
//ws.setBuiltInZoomControls(true);
|
||||
WebSettings ws = web.getSettings();
|
||||
ws.setSupportZoom(true);
|
||||
ws.setBuiltInZoomControls(true);
|
||||
|
||||
if (m_prefs.getString("theme", "THEME_DARK").equals("THEME_DARK")) {
|
||||
cssOverride = "body { background : black; color : #e0e0e0}\n";
|
||||
|
@ -27,6 +27,7 @@ import android.view.MotionEvent;
|
||||
import android.view.View;
|
||||
import android.view.View.OnClickListener;
|
||||
import android.view.ViewGroup;
|
||||
import android.webkit.WebSettings;
|
||||
import android.webkit.WebView;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.TextView;
|
||||
@ -111,9 +112,9 @@ public class OfflineArticleFragment extends Fragment {
|
||||
String cssOverride = "";
|
||||
|
||||
|
||||
//WebSettings ws = web.getSettings();
|
||||
//ws.setSupportZoom(true);
|
||||
//ws.setBuiltInZoomControls(true);
|
||||
WebSettings ws = web.getSettings();
|
||||
ws.setSupportZoom(true);
|
||||
ws.setBuiltInZoomControls(true);
|
||||
|
||||
if (m_prefs.getString("theme", "THEME_DARK").equals("THEME_DARK")) {
|
||||
cssOverride = "body { background : black; color : #e0e0e0}\n";
|
||||
|
Loading…
Reference in New Issue
Block a user