When declaring a Composite for example, the layout automatically defaults to the commonly used GridLayout.
例如在声明一个Composite时,常用的GridLayout就会作为其默认布局。
Declaring your UI layout in XML rather than runtime code is useful for several reasons, but it's especially important so you can create different layouts for different screen sizes.
在XML中声明你的UI布局,而非运行时刻的代码中,在一些时候是有用的,尤其是你可以为不同的屏幕大小创建不同的布局。
Declaring your UI layout in XML rather than runtime code is useful for several reasons, but it's especially important so you can create different layouts for different screen sizes.
在XML中声明你的UI布局,而非运行时刻的代码中,在一些时候是有用的,尤其是你可以为不同的屏幕大小创建不同的布局。
应用推荐