Windows Phone 8 Beginner's Tutorial (vi) Setting the style of an application

Source: Internet
Author: User

Source CODE:HTTP://AKA.MS/ABSBEGINNERDEVWP8 PDF version:http://aka.ms/absbeginnerdevwp8pdf

We've discussed the XAML basics, layouts, and events, so let's discuss some interesting topics in this lesson. We will give the application unique features by setting the style of the application. Obviously we have to follow Microsoft's guidelines to make our applications look like part of the WindowsPhone 8 ecosystem, but we also have a lot of freedom of personalization applications.

The plan for this lesson is:

We will change the tile icon for the phone application list and the Start screen.

We will access the theme colors of the user's phone and incorporate them into the color of our application so that we will learn some very important XAML syntax features called binding expressions.

Finally, we'll discuss creating reusable styles in your application.

1. Replace the application's tile icon

The first task in this lesson is to change the application's tiles, and the user will see it in the alphabetical list of applications and in the Start screen (if the user fixed the tile to the start screen). First, we'll open the Wmappmanifest.xml file in the project's property directory:

When you double-click the file in Solution Explorer, it opens in a special designer window that provides options for many applications to be introduced to the Windows Phone 8 operating system. For example, in the first tab, "Application Interface (Application UI)", we can change the display name, the application icon, and more:

We need to change the default icon to a more appropriate icon for our application. I have created this icon and it is in the C9phone8\petsounds_assets folder. The material for this series can be obtained from the download of this document or from this video.

Applicationicon.png is located in the above folder:

See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/OS/extra/

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.