package com.github.krooken.edxvideoviewer;

import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;

public class LoginScreen extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_login_screen);
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.login_screen, menu);
		return true;
	}

}

@@ -83,45 +83,151 @@
 id.a
-pp.Activity;%0Aimport android.view.Menu
+nnotation.SuppressLint;%0Aimport android.app.Activity;%0Aimport android.view.Menu;%0Aimport android.view.WindowManager;%0Aimport android.webkit.WebView
 ;%0A%0Ap
@@ -270,16 +270,55 @@
 vity %7B%0A%0A
+%09@SuppressLint(%22SetJavaScriptEnabled%22)%0A
 %09@Overri
@@ -462,16 +462,303 @@
 creen);%0A
+%09%09%0A%09%09WebView loginWebView = (WebView)findViewById(R.id.login_web_view);%0A%09%09loginWebView.getSettings().setJavaScriptEnabled(true);%0A%09%09loginWebView.loadUrl(%22https://courses.edx.org/login%22);%0A%09%09getWindow().setSoftInputMode(%0A%09%09%09      WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN);%0A
 %09%7D%0A%0A%09@Ov

Load EdX login screen in WebView on create.