我正在开发一个Android应用程序,布局设计在选项卡上看起来不太好,但在4英寸、5英寸屏幕和纵向模式下,应用程序看起来很棒,但是当我切换到景观模式时,设计看起来就不太好了。我应该做些什么来使我的设计在景观和肖像两种模式下看起来都很好?
发布于 2014-04-01 05:17:49
创建一个layout-land目录,然后创建布局XML文件并将其放置在该目录中。并根据高度或宽度创建布局。例如- layout-w480dp, layout-w720dp or layout-h800dp or layout-h1280dp.
发布于 2014-04-01 05:13:42
You have to make app in this size format in android
Several Kinds of Size of app Declaration
http://developer.android.com/training/multiscreen/screensizes.html
http://developer.android.com/guide/practices/screens_support.html
image icon size are
1:-36*36 dp
2:-44*44 dp
3:-72*72 dp
4:-96*96 dp
5:-144*144 dp if you want to make big image in tab背景图像大小
512*512
1024*768
what size are perfect in your Device that you have to use.也取决于设备焦点。
https://stackoverflow.com/questions/22777195
复制相似问题