我写的一个页面 用在app内嵌网页 用webview打开的 但是布局不支持我是该放弃flex布局 重新写吗?
拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...
You can use display:box and display:flex together to achieve support. I have written an article before (detailed explanation of flex mixed writing), which has detailed instructions. I hope it will be helpful to you.
Android 4.4 or above supports display:flex. Lower versions do not support it.
You can use display:-webkit-box similar to flex layout
display:-webkit-box
flex
You can use display:box and display:flex together to achieve support. I have written an article before (detailed explanation of flex mixed writing), which has detailed instructions. I hope it will be helpful to you.
Android 4.4 or above supports display:flex. Lower versions do not support it.
You can use
display:-webkit-box
similar toflex
layout