This used to work...
package mirrodinwatchfaces.mywebviewapp;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.webkit.WebView;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
//WebView myWebView;
WebView myWebView = findViewById(R.id.article);
myWebView.getSettings().setDomStorageEnabled(true);
myWebView.loadUrl("article.html");
}
}
Now its highlighting the R in red...?
Also any changes I make to activity_main.xml are no longer appearing in the Layout Editor...just about impossible to build an html intro screen without actually seeing whether icons and text are being correctly positioned.
Why monopolize the android development environment and then actually make it harder to develop apps...surely this stuff should get priority on the fix list? so glad my business doesnt depend on this bloated beast.