Android Studio如何在没有纵横比约束的情况下调整模拟器大小
我正在使用JetPack组合构建响应式布局,我想通过拖动仿真器的角度调整大小来测试响应能力。但是,它保留了纵横比并扩展了它,这根本没有帮助。我如何轻松地测试我的响应式布局,而不必创建不同尺寸的一堆虚拟设备?
I'm building a responsive layout with jetpack compose, and I want to test the responsiveness by dragging a corner of the emulator to resize it. However, it preserves the aspect ratio and just scales it, which doesn't help me at all. How can I easily test my responsive layout without having to create a bunch of virtual devices at different sizes?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我从实验开发人员设置“启用自由式窗口”和本文中找到了一个不错的解决方案: https://wwwww.floingapps .net/freeform
步骤:
在“应用程序”下:
I found a decent solution from the experimental developer setting "Enable freeform windows" and this article: https://www.floatingapps.net/freeform
Steps:
under "Apps":
也许这会有所帮助: Resiziesable Emulator
鳗鱼| 2022.1.1
Maybe this will help: Resizable Emulator
It is available in Android Studio Electric Eel | 2022.1.1