×
Namespaces

Variants
Actions
(Difference between revisions)

Using a Grid Helper image to Design WP Apps

From Nokia Developer Wiki
Jump to: navigation, search
Aady (Talk | contribs)
(Aady -)
 
Aady (Talk | contribs)
(Aady -)
Line 30: Line 30:
  
 
== Design Using GRID==
 
== Design Using GRID==
One of the most critical design aspect is alignment, size and spacing of UI controls within an application. And as a designer you must be aware it’s not easy unless you are very careful and still is 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.  
+
One of the most critical design aspects are:
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.
+
#Alignment
 +
#Size
 +
#Spacing of UI controls
 +
 
 +
And as a designer you must be aware that it’s not easy 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. <BR/>
 +
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.<BR/>
 +
===Photoshop GRID===
 
For a Photoshop designer we can user the below image to design UI and for an inbuilt  
 
For a Photoshop designer we can user the below image to design UI and for an inbuilt  
 +
===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:
 
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:
 +
<code>
 
<!--Uncomment to see an alignment grid to help ensure your controls are
 
<!--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
 
     aligned on common boundaries.  The image has a top margin of -32px to
Line 39: Line 47:
 
     if the System Tray is hidden.  Before shipping remove this XAML and the image itself.-->
 
     if the System Tray is hidden.  Before shipping remove this XAML and the image itself.-->
 
<!--<Image Source="/Assets/AlignmentGrid.png" VerticalAlignment="Top" Height="800" Width="480" Margin="0,-32,0,0" Grid.Row="0" Grid.RowSpan="2" IsHitTestVisible="False" />-->
 
<!--<Image Source="/Assets/AlignmentGrid.png" VerticalAlignment="Top" Height="800" Width="480" Margin="0,-32,0,0" Grid.Row="0" Grid.RowSpan="2" IsHitTestVisible="False" />-->
 +
</code>
 
An image called AlignmentGrid also exists in the Assets folder of the project.
 
An image called AlignmentGrid also exists in the Assets folder of the project.
  

Revision as of 16:36, 18 January 2013

This article explains how to Design WP apps using GRID Replace the abstract text with a short paragraph (or sentence) describing what the topic covers.

Enter article metadata as described below. Note that this template can be placed anywhere in the article. Do not remove parameters that you do not use

WP Metro Icon WP8.png
SignpostIcon WP7 70px.png
Article Metadata
CompatibilityArticle
Created: (29 Jan 2013)
Last edited: Aady (18 Jan 2013)

Contents

Introduction

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.

Design Using GRID

One of the most critical design aspects are:

  1. Alignment
  2. Size
  3. Spacing of UI controls

And as a designer you must be aware that it’s not easy 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.

Photoshop GRID

For a Photoshop designer we can user the below image to design UI and for an inbuilt

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 itself.-->
<!--<Image Source="/Assets/AlignmentGrid.png" VerticalAlignment="Top" Height="800" Width="480" Margin="0,-32,0,0" Grid.Row="0" Grid.RowSpan="2" IsHitTestVisible="False" />-->

An image called AlignmentGrid also exists in the Assets folder of the project.

Design Guidelines using GRID approach

Keep It Left

Align With The Grid Cells

UI Element Size

Keep Gap

Summary

226 page views in the last 30 days.
×