Starting from scratch Learn xamarin.forms (v) Tips

Source: Internet
Author: User

Since the HTML5 specification was finally finalized in October 2014, the company. NET developers less, at home and abroad have a more mature UI framework, the rapid development of mobile software hardware and so on, so I do not intend to use Xamarin, but instead of using html5+css3+ JavaScript in a way that makes cross-platform development. Previously in the exploration of Xamarin has accumulated a number of small experience also shared to everyone, hoping to bring help to everyone.


The title of root in embedded navigationpage,navigationpage in 1.TabbedPage is Actionbar, and the title of Navigationpage is the header of tab.
2. Extendednavigationpage styles in temporary writing are not working with Tabbedpage because of bug reasons.
3. Customize the style in Android, or define it in the style file
4. Start activity on the annotations label will change the name of the app, just delete the label tag to display the app name set in the project properties.
There is a problem with the 5.9patch file, you can use the tools from Android.
6. Pixel Turn dp:resolver.resolve<idevice> (). Display.width/(Resolver.resolve<idevice> (). display.ydpi/160)
7.Grid default rows and columns are spaced by setting rowspacing= "0"
8.Error 5 The ' ProductID ' attribute is invalid-the value ' 75b13d4c-4f0c-4b78-9d7f-8d09b3d5d4d0 ' are invalid according to it s datatype ' http://WPCommontypes:ST_Guid '-the Pattern constraint failed. Thsframework.winphone

Open the Wmappmanifest.xml in properties under the Winphone projectProductID values are enclosed in curly braces such as: Productid= "{75b13d4c-4f0c-4b78-9d7f-8d09b3d5d4d0}"

9.To set the Actionbar style:
    var Navigon = new Navigationpage (new Webviewpage ());    Navigon. Barbackgroundcolor = color.teal;    Navigon. Bartextcolor = Color.White



Starting from scratch Learn xamarin.forms (v) Tips

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.