Click the red mark in the picture to switch the emulator to landscape or portrait screen
If the development function module has the need to adapt to the horizontal screen, pay attention to the animation transition and layout adaptation when switching
Edit to dark mode using properties
In addition to adapting to system, resolution and other scenarios, dark mode is also a feature
Click the plus icon to add multiple view previews
The corresponding code will also change, and can be used to show one in default mode, one in dark mode, etc.
Views and styles can be modified via code
It can also be edited visually through the properties panel
Changes between the two are linked in both directions
Click on the Text control to display the corresponding properties, you can modify the font, color, thickness, spacing, alignment, etc.
Clicking on the ContentView shows the corresponding properties, such as layout, dark mode, spacing, etc.
There are many ways to open the control properties panel, as demonstrated in the video