@@ -0,0 +1,1389 @@
+package com.commonsware.empublite;%0A%0A%0Aimport android.annotation.SuppressLint;%0Aimport android.os.Bundle;%0Aimport android.view.LayoutInflater;%0Aimport android.view.View;%0Aimport android.view.ViewGroup;%0Aimport android.webkit.WebViewFragment;%0A%0A%0Apublic class SimpleContentFragment extends WebViewFragment %7B%0A    private static final String KEY_FILE = %22file%22;%0A%0A    protected static SimpleContentFragment newInstance(String file) %7B%0A        SimpleContentFragment f = new SimpleContentFragment();%0A%0A        Bundle args = new Bundle();%0A        args.putString(KEY_FILE, file);%0A        f.setArguments(args);%0A%0A        return f;%0A    %7D%0A%0A    @Override%0A    public void onCreate(Bundle savedInstanceState) %7B%0A        super.onCreate(savedInstanceState);%0A        setRetainInstance(true);%0A    %7D%0A%0A    @SuppressLint(%22SetJavaScriptEnabled%22)%0A    @Override%0A    public View onCreateView(LayoutInflater inflater, ViewGroup container,%0A                             Bundle savedInstanceState) %7B%0A        View result = super.onCreateView(inflater, container, savedInstanceState);%0A        getWebView().getSettings().setJavaScriptEnabled(true);%0A        getWebView().getSettings().setSupportZoom(true);%0A        getWebView().getSettings().setBuiltInZoomControls(true);%0A        getWebView().loadUrl(getPage());%0A        return(result);%0A    %7D%0A%0A    private String getPage() %7B%0A        return getArguments().getString(KEY_FILE);%0A    %7D%0A%0A%0A%7D%0A

Add SimpleContentFragment