简体   繁体   English

为三星平板电脑移植android应用

[英]Porting android apps for Samsung Tablet

I want to port my application for samsung tab and i want to know what layout and resource should be keep in my resource file.what will be image size for samsung tab 10",7.1". 我想将我的应用程序移植到三星标签上,我想知道什么布局和资源应该保留在我的资源文件中。三星标签10“,7.1”的图像大小是多少。

Thanks 谢谢

The best way to do that is to read this article Supporting multiple screen sizes 最好的方法是阅读本文支持多种屏幕尺寸

There you can find the screen sizes and densities for what you are looking for. 在这里,您可以找到所需的屏幕尺寸和密度。

Good luck! 祝好运!

i just want to add, never develop an app for a specific brand / screen size / hardware configuration when possible. 我只想添加,请不要在可能的情况下针对特定品牌/屏幕尺寸/硬件配置开发应用程序。 In the case mentioned it would be simple to define different res/layout-xxx files to offer compatibility with a wide range of devices while mantaining simplicity 在上述情况下,定义不同的res / layout-xxx文件以提供与多种设备的兼容性同时保持简单性将很简单

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM