Android(调整屏幕大小)

发布于 2024-12-22 13:54:29 字数 178 浏览 3 评论 0原文

我想询问我的应用程序仅适用于 4.0 英寸和 4.3 英寸屏幕的移动设备。

当我将其安装到 3.0 英寸或 3.4 英寸手机时,我的全屏不会出现。

一些按钮和标签掉了下来,看不见。

最后我想了解如何为所有移动设备制作这个应用程序?

我可以在代码中做到这一点吗?或者在清单文件中?

I want to ask my application only for 4.0" and 4.3" screens mobile.

When I install it to 3.0" or 3.4" mobile my full screen does not appear.

Some buttons and labels went down and not seen.

And finally I want to learn how I do this application for all mobile?

Can I do this in code ? or in manifest file?

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

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

发布评论

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

评论(2

自由范儿 2024-12-29 13:54:29

我想请求我的应用程序仅适用于 4.0 英寸和 4.3 英寸屏幕的移动设备。

使用 http://developer.android.com/guide/practices/screens-distribution。 html,您可以将您的应用限制为具有特定屏幕尺寸的设备。

当我将其安装到 3.0 英寸或 3.4 英寸手机时,我的全屏不会出现。一些按钮和标签掉了下来,看不见。

奇怪的!您在布局中使用绝对像素值吗?如果不是,布局将在任何手机上缩放。只是看起来不会很好。

I want to ask my application only for 4.0" and 4.3" screens mobile.

Using http://developer.android.com/guide/practices/screens-distribution.html, you can limit your app to devices with specific screen sizes.

When I install it to 3.0" or 3.4" mobile my full screen does not appear. Some buttons and labels went down and not seen.

Strange! Are you using absolute pixel values in your layouts? If you are not, the layouts will scale on any phone. Only it will not look very good.

人事已非 2024-12-29 13:54:29

如果您想运行 4.0 和 4.3 的应用程序。你需要安装4.3。那么你也可以运行4.0。如果您安装 3.0 或 3.4,它将仅运行 3.4 及以下版本。它不适用于 3.4 以外的更高版本。

If you want to run application for 4.0 and 4.3. you need to install 4.3. then you can run 4.0 also. if you install 3.0 or 3.4 it will run 3.4 and below the version only. it won't work for hiegher versions otherthan 3.4.

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