locked
Hi resolution background doesn\t display well RRS feed

  • Question

  • Hi,

    My windows phone app has a black and red gradient background. It appears fine in Photoshop but when I add it as my background for my Samsung Focus, the gradient appears at a low resolution and I can see lines that differentiate where the colors change. Is this a limitation of the phone? I've seen wp7 apps out there using gradient backgrounds and they seem fine.

    Thanks


    rvenable

    Thursday, September 13, 2012 1:35 AM

Answers

  • Hello Rvenable,

    Bydefault windows phone 7 app runs on 16-bit colour. You we can also use 32-bit color to get better color effect binding in gradient brush or image resources to set BitsPerPixel attributes inside the App tag of WMAppManifest.xml see below.


    <App xmlns=”" BitsPerPixel=”32"...>

    http://msdn.microsoft.com/en-us/library/ff769509(v=VS.92).aspx

    Hope it helps


    - Pavan [MCTS - Windows Mobile 5.0] If you find my post is helpful for you then mark as a answer and vote it.

    Thursday, September 13, 2012 4:39 AM

All replies

  • Hello Rvenable,

    Bydefault windows phone 7 app runs on 16-bit colour. You we can also use 32-bit color to get better color effect binding in gradient brush or image resources to set BitsPerPixel attributes inside the App tag of WMAppManifest.xml see below.


    <App xmlns=”" BitsPerPixel=”32"...>

    http://msdn.microsoft.com/en-us/library/ff769509(v=VS.92).aspx

    Hope it helps


    - Pavan [MCTS - Windows Mobile 5.0] If you find my post is helpful for you then mark as a answer and vote it.

    Thursday, September 13, 2012 4:39 AM
  • Thanks WmDev. Works fine.

    rvenable

    Friday, September 14, 2012 1:23 AM