英文:
Intended way of making content fit to screen size of device in MAUI
问题
In the MAUI framework, what is considered best practice/the intended way of making content fill the screen of the running device?
在MAUI框架中,如何使内容填充正在运行设备的屏幕被认为是最佳实践/预期的方法?
As for the content, let's assume it's a BoxView, for simplicity.
至于内容,让我们假设它是一个BoxView,以简化问题。
I've made a small example here. Disregard the space between the screen and the content:
我在这里制作了一个小示例。请忽略屏幕和内容之间的间隙:
Regardless of what device is running the app, what kind of layout is best? Grid, StackLayout, etc...
不管运行应用的设备是什么,哪种布局最佳?Grid、StackLayout等等...
英文:
In the MAUI framework, what is considered best practice/the intended way of making content fill the screen of the running device?
As for the content, let's assume it's a BoxView, for simplicity.
I've made a small example here. Disregard the space between the screen and the content:
Regardless of what device is running the app, what kind of layout is best? Grid, StackLayout, etc...
答案1
得分: 2
Regardless of what device is running the app, what kind of layout is best? Grid, StackLayout, etc...
我认为这取决于具体情况。每种布局都有其独特的特点。有关更多详细信息,您可以参考官方文档:布局。
英文:
> Regardless of what device is running the app, what kind of layout is best? Grid, StackLayout, etc...
I think it depends on the specific situation. Each layout has its own characteristics. For more details you can refer to the official doc: Layouts.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论