Vra

Dit is waarskynlik 'n dom fout, maar kan iemand my vertel waarom my ikone wat in Blend, maar nie in die simulator (en nie in VS10, maar dit is nie regtig 'n probleem)?

WP7 Aansoek Bar ikone. Blend (links), Simulator (regs)

Edit - Hier is my XAML:

    <phone:PhoneApplicationPage.ApplicationBar>
    <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
        <shell:ApplicationBarIconButton IconUri="/Images/share.png" Text="Partager"/>
        <shell:ApplicationBarIconButton IconUri="/Images/appbar.edit.rest.png" Text="Note"/>
        <shell:ApplicationBarIconButton IconUri="/Images/appbar.feature.camera.rest.png" Text="Photos/Vidéos"/>
        <shell:ApplicationBarIconButton IconUri="/Images/calendar.png" Text="Rendez-vous"/>
        <shell:ApplicationBar.MenuItems> 
            <shell:ApplicationBarMenuItem Text="MenuItem 1"/>
            <shell:ApplicationBarMenuItem Text="MenuItem 2"/>
        </shell:ApplicationBar.MenuItems>
    </shell:ApplicationBar>
</phone:PhoneApplicationPage.ApplicationBar>

My vier Png lêers is 48x48, deursigtige PNG met swart voorgrond, aangesien die appbar.*.rest.png lêers waar soos wat en gevind in die Microsoft ikone gids

Was dit nuttig?

Oplossing

Maak seker dat die beeld eienskappe ' opbou tot aksie ' Inhoud .

Ander wenke

Is jou ikone:

  • deursigtig met 'n wit voorgrond
  • Die regte grootte (48x48)
  • PNGs

? As dit so is, moet dit goed wees. Wat beteken jou XAML lyk?

Gelisensieer onder: CC-BY-SA met toeskrywing
Nie verbonde aan StackOverflow
scroll top