WP7アプリケーションバーアイコンはシミュレータに表示されていません(ただし、ブレンドで動作します)

StackOverflow https://stackoverflow.com/questions/4266225

質問

それはおそらく愚かな間違いですが、なぜ私のアイコンがブレンドで表示されているのかを教えてください。

WP7 Application Bar Icons. Blend (left), Simulator (right)

編集 - これが私の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>

私の4つの.pngファイルは48x48、透明です。 前景、以来 appbar.*.rest.png そのようなファイルがあり、Microsoft Iconsフォルダーで見つかった

役に立ちましたか?

解決

画像プロパティを確認してください行動を起こす' は コンテンツ.

他のヒント

あなたのアイコンですか:

  • 白い前景で透明
  • 適切なサイズ(48x48)
  • pngs

?もしそうなら、それは大丈夫なはずです。あなたのXAMLはどのように見えますか?

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top