protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
WebView webView = new WebView(this);
webView.loadUrl(getIntent().getStringExtra(LoginActivity.INTENT_EXTRA_URL));
webView.setWebViewClient(new WebViewClient() {
<BUG>LightProgressDialog dialog = (LightProgressDialog) LightProgressDialog.create(
LoginWebViewActivity.this, R.string.loading);
@Override</BUG>
public void onPageStarted(android.webkit.WebView view, String url, Bitmap favicon) {
dialog.show();

protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
WebView webView = new WebView(this);
webView.loadUrl(getIntent().getStringExtra(LoginActivity.INTENT_EXTRA_URL));
webView.setWebViewClient(new WebViewClient() {
MaterialDialog dialog = new MaterialDialog.Builder(LoginWebViewActivity.this)
.content(R.string.loading)
.progress(true, 0)
.build();
@Override
public void onPageStarted(android.webkit.WebView view, String url, Bitmap favicon) {
dialog.show();
