Comments (1)
是的,官方文档上的屏幕适配规范,指的是希望在更大屏幕的机型上可以显示更多的 UI 元素,这样对用户来说在更大屏幕的机型上可视和可操作的内容更加丰富;而不是指在所有不同屏幕大小的机型上只是动态地百分比缩放界面。
所以,要想达到官方屏幕适配规范,给用户提供更完美的用户体验,官方是希望应用开发者提供动态的布局方案,甚至同一个页面多套布局的。
至于百分比适配只不过是民间自行实现的最具性价比的屏幕适配方案罢了,这并不符合官方的理念,所以官方更不会出工具去支持这种 "偷懒" 的适配方式(Google 曾出过百分比库,不过早已作废 Android Percent Support Repository)。
这两个文档都介绍的是怎么构建更灵活的自适应布局,而不是百分比布局。
from androidautosize.
Related Issues (20)
- 改变density导致滑动手势的判定出现问题,已附上解决方案。
- 项目中用了这个库,折叠屏如何适配?
- 虚拟导航栏适配问题 HOT 1
- 使用了AndroidAutoSize后,系统设置改变字体,切回App, Activity重建,但是布局文件内的字体不会自动适配改变 HOT 4
- 在使用了腾讯的超级播放器的页面中适配,在夜神模拟器上十分卡顿 HOT 2
- android该方案的实现思路有对应的flutter解决方案吗 HOT 1
- 广告
- Vivo X Fold2 折叠屏多窗模式下 resource的xdpi无法被修改
- Android 14 Cannot showing default system SoftKeyboard HOT 5
- 华为折叠屏折叠状态下和展开状态下的问题
- 统一隐私政策之前初始化sdk,因为调用了getApplicationInfo提示不合规,怎么处理 HOT 2
- Android 14 适配问题
- Android 14 系统软键盘无法弹出 HOT 6
- Compose 没有效果
- 平板横屏项目DialogFragment高度显示不全问题 HOT 4
- Android14 设置不跟随系统字体大小改变失效 HOT 3
- Android 14部分手机输密码时黑屏
- 设置resizeableactivity=false并且页面横屏在小米上不兼容 HOT 1
- 是不是不维护更新了
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from androidautosize.