Frage

Es ist sehr wahrscheinlich ein dummer Fehler, aber kann mir jemand sagen, warum meine Symbole in Mischung zeigen, aber nicht im Simulator (und nicht in VS10, aber das ist nicht wirklich ein Problem)?

WP7 Anwendung Bar Icons. Blend (links), Simulator (rechts)

Bearbeiten - Hier ist meine 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>

Meine vier .png-Dateien sind 48x48, transparent .png mit schwarz Vordergrund, da die appbar.*.rest.png Dateien, in denen ähnlich und in den Microsoft-Symbole gefunden Ordner

War es hilfreich?

Lösung

Stellen Sie sicher, dass die Bildeigenschaften ' Build Aktion ist Content .

Andere Tipps

Sind Ihre Symbole:

  • Transparent mit weißen Vordergrund
  • Die richtige Größe (48x48)
  • PNGs

? Wenn dies der Fall ist, dass in Ordnung sein. Wie sieht Ihre XAML aussehen?

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top