本教程目的:
使用安卓app外壳内嵌H5网页,使其能够正常浏览
流程:
新建项目–MainActivity中放入一个WebView–WebView加载主页
新建项目:
右键左侧空白>new project>android>android application project,
MainActivity中放入一个WebView
1.修改activity_main.xml
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
tools:context=