android基于回合的多人自定义邀请屏幕 [英] android turn-based multiplayer custom invite screen

查看:128
本文介绍了android基于回合的多人自定义邀请屏幕的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试为Google Play服务随附的玩家选择器UI"创建自定义UI屏幕,以用于基于回合的多人游戏.默认值可以在这里看到: https://developers.google.com/games/services/android/realtimeMultiplayer? hl = fr-CH#invite_players_option

I am trying to create a custom UI screen for the "player picker UI" that comes with google play services for turn based multiplayer. The default one can be seen here: https://developers.google.com/games/services/android/realtimeMultiplayer?hl=fr-CH#invite_players_option

该页面(我知道是实时的)提到了如何使用默认UI以及可以使用自定义UI,但没有提及自定义外观的实际方法.我不是大图标的粉丝,而是一个简单的清单.我已经尝试研究了几天,却一无所获.

That page(which is real time I know) mentions how to use the default UI and that a custom UI can be used, but does not mention the actual methods to customize the look. I'm not a fan of the huge icons, and would rather a simple list. I have been trying to research this out for a few days, and have found nothing.

我正在寻找有关需要自定义的方法的任何帮助.它是在onActivityResult方法中完成的吗?有没有人做过类似的运气?

I am looking for any help on which methods I need to call in order to customize. Is it done in the onActivityResult method? Has anyone had any luck doing something similar?

谢谢

推荐答案

这意味着您可以从头开始创建自己的UI ,并使用提供的API与Google Play服务进行交互.它们不提供自定义google提供的播放器选择UI外观的方法.

It means that you can create your own UI from scratch, and interact with Google Play Services using the provided API. They do not provide a way to customize the look of the player selection UI that google provides.

这篇关于android基于回合的多人自定义邀请屏幕的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆