
安卓控件
手指乐
专注移动开发
展开
-
使用isInEditMode解决可视化编辑器无法识别自定义控件的问题
1. isInEditMode的作用:Indicates whether this View is currently in edit mode. A View is usually in edit mode when displayed within a developer tool. For instance, if this View is being drawn by a visual...原创 2019-08-20 09:25:16 · 40213 阅读 · 4 评论 -
webview,js和android交互
webview介绍在Android手机中内置了一款高性能webkit内核浏览器,在SDK中封装为一个叫做WebView组件,用于浏览网页混合编程:安卓程序没法跨平台,web(H5)性能,体验各方面跟不上,一个app中对性能要求比较高的部分会用原生代码来写,某些对性能要求没那么高的部分用h5来写。webview的基本使用加载本地图片webView.loadUrl(“file:///sd...原创 2019-09-03 16:26:52 · 280 阅读 · 0 评论