none
I can't found Device window for XAML Design with VS2015

    Question

  • Hello.

    I use VS2015 for develop Win10mobile application. 

    My phone's screen resolution is 720x1280, but i can't set to device resolution in XAML Designer.

    I can't find the Device Window at Design menu with vs2015.

    Please know how to solve this problem.

    Thursday, January 21, 2016 4:58 AM

Answers

All replies

  • Hi jack.hong,

    Thanks for you post.

    Please follow the following steps to set to device resolution in XAML Designer.

    1. Right click your project then change the target version to “ Windows10(10.0; Build 10240)”

    2. Reopen the MainPage.xaml, then you will find the xaml designer. Then you can select the resoulution in the dropdown list.

    Best Regards,

    Lake Xiao


    Friday, January 22, 2016 2:39 AM
    Moderator
  • Hi lake

    my phone is lumia640xl, it's resolution 720x1280 and 5.7" LCD

    but no 720x1280 resolution in your known list.

    jack

    Friday, January 22, 2016 3:44 AM
  • Hi jack,

    Thanks for your quick response.

    You can manually change the resolution of the designer view in his properties window.

    Since you phone's resolution is 720x1280. So the you can set the width and height as 720/3=240 and 1280/3=426.67 because the resolution is x300% scale. 

    Please refer to the following screenshot:

    Best Regards,

    Lake Xiao

    Friday, January 22, 2016 4:23 AM
    Moderator
  • Hi Lake

    I changed the resolution as your guide.

    But it was rather worse...

    If change the width and height of the Layout as your description is shown below picture.

    In addition, under the picture is VS2015 previous  settings and my phone screen.

    I want layout to fit in my phone.

    Jack

    Friday, January 22, 2016 4:47 AM
  • Hi jack,

    I just did a research of the resolution “720x1080”. And I found a blog mentioned that the "720x1080" is not support now.

    You could refer the following blog:

    http://domagoj.eu/actual-view-screen-resolution-uwp-windows-10-phones/


    By the way. They have submit as a feature request and you can vote the request report in the following link:


    https://wpdev.uservoice.com/forums/110705-dev-platform/suggestions/8550346-support-svg-elements-in-xaml


    And once VS team add this feature. They will update it in the above link.


    Best Regards,


    Lake Xiao


    Friday, January 22, 2016 8:46 AM
    Moderator
  • Hi Lake.

    Thanks for your support.

    I have been many helpful.

    Thank you.

    Tuesday, January 26, 2016 5:21 AM