简体   繁体   English

Android排行榜操作栏图标

[英]Android Leaderboards Actionbar Icon

I'm developing a mobile game and I came across a strange problem. 我正在开发手机游戏,但遇到一个奇怪的问题。 I'm using GameHelper class in my project. 我在项目中使用GameHelper类。 When I start Leaderboards Activity there is a standard Android icon in ActionBar instead of my icon. 当我启动排行榜活动时,ActionBar中有一个标准的Android图标,而不是我的图标。 I have my icon in mdpi, hdpi, xhdpi, xxhdpi, xxxhdpi and I even tried to put it to drawable folder without specifying dpi. 我的图标为mdpi,hdpi,xhdpi,xxhdpi,xxxhdpi,甚至尝试将其放在可绘制的文件夹中而不指定dpi。 I saw that in other games people have pretty game's icon. 我看到在其他游戏中人们都有漂亮的游戏图标。 What can I do about it? 我该怎么办?

I think that the launcher icon in leaderboards is pulled down from Game Services API. 我认为排行榜中的启动器图标是从Game Services API下拉的。 Try to check these two settings: 尝试检查以下两个设置:

1) icon you uploaded into graphic assets in Game Services Console. 1)您在游戏服务控制台中上传到图形资产的图标。

2) branding information in Google Console - code.google.com/apis/console (APIs & auth -> Consent screen) 2)Google控制台中的品牌信息code.google.com/apis/console和身份验证”->“同意”屏幕)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM