如果你要写简单的浏览器的话。。。
你可以这么做qwq
创建好应用后先添加浏览器
他的属性为
width=-1
height=-1
url="https://www.baidu.com/"
点击运行就好了qwq
如果你要做难亿点的。。。那成果如下
视频链接
https://v.kuaishou.com/7pejF8
教程来了!
你得创建以下控件
不怕累你就往下
线性布局属性
width=-1
height=-1
orientation=vertical
线性布局1属性
width=-1
height=55dp
orientation=horizontal
BackgroundColor=#ff0081ff
浏览器属性