GDK:如何显示类似于“正在录制"的状态和“完成" [英] GDK : How to show status similar to 'Recording" and 'Complete"

查看:67
本文介绍了GDK:如何显示类似于“正在录制"的状态和“完成"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个GDK应用程序,在这里我需要提供用户体验来显示类似于Glass提供的视频记录状态的状态文本(显示正在记录"状态,然后显示进度指示器,最后显示完成"文本).感谢您的输入.

I'm developing a GDK app where I need to provide an user experience to display status text similar to video recording status that Glass provides ( displaying "Recording" status then displaying progress indicator and finally showing 'Complete' text ). Appreciate your input.

推荐答案

现在,您需要编写自己的UI逻辑来执行此操作(也许使用Dialog并使用具有适当居中位置的自定义布局)标签和图标,底部带有进度条,并在操作完成后更改标签并关闭对话框.

Right now, you'll need to write your own UI logic to do this (perhaps by using a Dialog with a custom layout that has the appropriate centered label and icon, with a progress bar at the bottom, and changing the label and dismissing the dialog when the action is complete).

您可能要遵循问题271 在我们的问题跟踪器中,它涵盖了该流程的进度指示器部分.

You may want to follow issue 271 in our issue tracker, which covers the progress indicator part of this flow.

这篇关于GDK:如何显示类似于“正在录制"的状态和“完成"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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