如何确保我的 Android 应用程序在所有 Android 手机上看起来都一样?

发布于 2024-10-03 12:37:31 字数 169 浏览 1 评论 0原文

有没有一种真正的方法可以确保我的应用程序在摩托罗拉 Droid 2 上的显示效果与在其他 Android 设备上的显示效果相同?

我只使用基本的线性布局、图像视图、按钮等 - 在我考虑启动应用程序之前,是否有一个好的清单可供参考?

裁剪问题、我应该在什么 SDK 中启动我的应用程序等等……?

Is there a truefire way to make sure my app will display the same on my Motorola Droid 2 as it will on other Androids?

I use nothing more than basic Linear Layouts, Image Views, Buttons etc - is there a good checklist to go by before I even think about launching an app?

Clipping issues, What SDK I should launch my app in, etc...?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

甩你一脸翔 2024-10-10 12:37:31

确保您遵循支持多种屏幕尺寸的指南。

您可以使用模拟器来试验不同的可能屏幕尺寸和密度,如该文档中 如何测试您的应用

Make sure you are following the guidelines for supporting multiple screen sizes.

You can use the emulator to experiment with the different possible screen sizes and densities, as described in that document under how to test your app.

梦断已成空 2024-10-10 12:37:31

您可以制作不同屏幕尺寸的模拟器来检查您的应用程序。

一件事确保您不在应用程序中的任何地方使用“px”(像素),使用 dp 而不是 px。

You can make emulator of different screen sizes to check your application.

One thing make sure you don't use "px"(pixels) anywhere in your application, use dp instead of px.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文