Using a Grid Helper image to Design WP Apps
This article explains how to Design WP apps using GRID
The main principle of Metro design for Windows Phone is simple, clean and disciplined design. Sounds good and simple but to achieve these traits a designer needs to be very careful and thoughtful while designing the application. The application may be designed by the developer himself and that will be typically directly using Visual Studio. In case the designer of app is not a developer, he might prefer using a photo editing tool like Photoshop. The tutorial covers how to use GRID in either situation.
Design Using GRID
While Designing a WP application one must follow the WP guidelines and some of the principles are to keep UI simple, consistent UI control placement and disciplined. To address this aspects following design considerations plays important role:
- Spacing of UI controls
And as a designer you must be aware that it’s not easy to implement the above aspects unless you are very careful. And inspite of being careful it is still easy to miss the alignment by a cm or two controls being mis-alignment from top or a few controls are not of same size when they are supposed to be.
But to make this tasks easy we have a design technique which takes help of a ’GRID’. This approach uses grid as a helping control to have crisp and clean design.
- Open the Grid image using File -> Open.
- Create a new layer which is the base layer - AppPage.
- Draw the screen design on AppPage layer.
Visual Studio 2012 GIRD
For a Visual Studio 2012 designer, it’s a good news that a very handy tool called as AlignmentGrid is available to help in design. The designer grid can be enabled by uncommenting the below line at the end of the MainPage.XAML:
<!--Uncomment to see an alignment grid to help ensure your controls are
aligned on common boundaries. The image has a top margin of -32px to
account for the System Tray. Set this to 0 (or remove the margin altogether)
if the System Tray is hidden. Before shipping remove this XAML and the image
<!--<Image Source="/Assets/AlignmentGrid.png" VerticalAlignment="Top" Height="800"
Width="480" Margin="0,-32,0,0" Grid.Row="0" Grid.RowSpan="2" IsHitTestVisible="False"/>