Android的布局和定位的问题

问题描述:

最近我建立一个应用程序,现在我有一些问题,布局和定位。其实我建立我的布局,但是当我测试更大的屏幕上的一切倒塌,看我的应用程序并不好。什么是制作UI的最佳方法是什么?

recently i'm building an app and now i have some problem with layout and positioning. in fact i build my layout but when i test on bigger screen everything collapsed and look of my app is not good. what is the best way to produce UI?

参阅支持多种屏幕。

此外,在创建用户界面,尽量保持布局 RelativeLayout的,避免硬编码为 layout_height layout_width 让你的UI将适合在所有屏幕上。 快乐编码。

Also, while creating UI, try to keep the layout as RelativeLayout and avoid hardcoding for layout_height and layout_widthso that your UI will fit on all screens. Happy Coding.