Search in sources :

Example 6 with LocalizedWebView

use of edu.berkeley.cs.amplab.carat.android.ui.LocalizedWebView in project carat by amplab.

the class SuggestionsFragment method initUpgradeOsView.

private void initUpgradeOsView(View root) {
    LocalizedWebView webview = (LocalizedWebView) root.findViewById(R.id.upgradeOsView);
    webview.loadUrl("file:///android_asset/upgradeos.html");
//webview.setOnTouchListener(new FlipperBackListener(this, vf, vf.indexOfChild(findViewById(android.R.id.list))));
}
Also used : LocalizedWebView(edu.berkeley.cs.amplab.carat.android.ui.LocalizedWebView)

Aggregations

LocalizedWebView (edu.berkeley.cs.amplab.carat.android.ui.LocalizedWebView)6 View (android.view.View)3 Context (android.content.Context)1 SharedPreferences (android.content.SharedPreferences)1 PackageInfo (android.content.pm.PackageInfo)1 OnClickListener (android.view.View.OnClickListener)1 Button (android.widget.Button)1 ImageView (android.widget.ImageView)1 TextView (android.widget.TextView)1 HashMap (java.util.HashMap)1