首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >Windows 10活瓷砖商标标志非常小

Windows 10活瓷砖商标标志非常小
EN

Stack Overflow用户
提问于 2015-12-28 18:20:51
回答 1查看 495关注 0票数 0

我有以下问题。我在我的应用程序中创建二次瓷砖,并用名称和徽标给它们打上品牌。与其他应用程序相比,我认为这个标志似乎非常小。我创建了徽章标志和所有目标大小没有边框的标识。谁能告诉我品牌标识到底是用哪一幅画做的?

瓷砖的创建方式如下:

代码语言:javascript
运行
复制
string tileId = "MySecondaryAppTile"
string displayName = "MyApp";
string tileActivationArguments = "MyApp activated from Secondary tile";

Uri square71x71Logo = new Uri("ms-appx:///Assets/Square71x71Logo.png");
Uri square150x150Logo = new Uri("ms-appx:///Assets/Square150x150Logo.png");
Uri wide310x150Logo = new Uri("ms-appx:///Assets/Wide310x150Logo.png");
Uri square310x310Logo = new Uri("ms-

TileSize newTileDesiredSize = TileSize.Wide310x150;

SecondaryTile secondaryTile = new SecondaryTile(tileId,
                                                displayName,
                                                tileActivationArguments,
                                                square150x150Logo,
                                                newTileDesiredSize);

 if (!(Windows.Foundation.Metadata.ApiInformation.IsTypePresent(("Windows.Phone.UI.Input.HardwareButtons"))))
 {
      secondaryTile.VisualElements.Wide310x150Logo = wide310x150Logo;
      secondaryTile.VisualElements.ShowNameOnWide310x150Logo = true;
      secondaryTile.VisualElements.Square310x310Logo = square310x310Logo;
      secondaryTile.VisualElements.ShowNameOnSquare310x310Logo = true;
 }

 secondaryTile.VisualElements.ShowNameOnSquare150x150Logo = true;

 secondaryTile.RoamingEnabled = false;

 Windows.Foundation.Rect rect = FloorPage.GetElementRect((FrameworkElement)sender);
Windows.UI.Popups.Placement placement = Windows.UI.Popups.Placement.Below;
bool isPinned = await secondaryTile.RequestCreateForSelectionAsync(rect, placement);

这样的Tile通知:

代码语言:javascript
运行
复制
TileContent tileContent = new TileContent()
{
   Visual = new TileVisual()
   {
        **Branding = TileBranding.NameAndLogo**,

        TileMedium = new TileBinding()
        {
             Content = CreateTileBindingContent()
        },

        TileWide = new TileBinding()
        {
             Content = CreateTileBindingContent()
        },

        TileLarge = new TileBinding()
        {
            Content = CreateTileBindingContent()
        }
    }
};
TileNotification notification = new TileNotification(tileContent.GetXml());
TileUpdateManager.CreateTileUpdaterForSecondaryTile(tileId).Update(notification);

要成为shure,我指的是以下徽标:

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2015-12-30 03:04:50

它将使用Square44x44Logo作为品牌标识。因此,确保您的断言文件看起来正确(例如,您的标志的透明部分应尽可能少)。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/34498660

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档