Recommended

Skip Navigation LinksHome / News / View News

Sample: Windows Phone 7 Example Application with Landscape Layout

+ Add to SilverlightShow Favorites
0 comments   /   posted by Silverlight Show on May 27, 2010
(0 votes)
Take a look at this cool Windows Phone 7 application with landscape layout that Jason Zander made. It's called Tip Calculator and makes it easy to figure out your bill in a restaurant or for a cab ride.

When the user rotates the phone we want the layout to change to match the new dimensions.  This is also fairly straight forward to implement. The first step is to have an additional column in the LayoutRoot which can accommodate the totals data. When the phone is rotated into landscape mode, we will move the TotalsGrid into the second column adjacent to the NumbersGrid.

Share


Comments

Comments RSS RSS
No comments

Add Comment

 
 

   
  
  
   
Please add 1 and 6 and type the answer here:

Help us make SilverlightShow even better and win a free t-shirt. Whether you'd like to suggest a change in the structure, content organization, section layout or any other aspect of SilverlightShow appearance - we'd love to hear from you! Need a material (article, tutorial, or other) on a specific topic? Let us know and SilverlightShow content authors will work to have that prepared for you. (hide this)