显示返回的Andr​​oid栈 [英] Show Back Stack of Android

查看:102
本文介绍了显示返回的Andr​​oid栈的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为了更好地理解的Andr​​oid,我想更多地了解后面堆概念的行为。有什么办法可以列出所有的活动,因为他们订购回堆栈。这也应该包括所有其他正在运行的任务。

For better understanding the behavior of Android I'd like to learn more about the back stack concept. Is there a way to list all activities as they are ordered in back stack. This should also includes all other running tasks.

推荐答案

我发现在Android的工作室(0.5.1)该信息:查看 - >工具Windows的>安卓。然后在左侧选中系统信息图标,并从它的下拉菜单中选择图形状态。这将转储显示了大量的信息,但如果您向下滚动到查看层次:你将看到的美景当前堆栈,即返回堆栈

I have found this information is available in Android Studio (0.5.1): View->Tool Windows->Android. Then on the left hand side select the System Information Icon and from it's drop down select 'Graphics State'. This will dump show a lot of information, but if you scroll down to 'View hierarchy:' you will see the current stack of views i.e. the 'Back Stack'.

该任择议定书并询问正在运行的任务,所以,而是如果选择图形状态选择活动管理国家,你会发现更多的信息(虽然我发现它简单到图形状态查看信息专找什么活动都在背叠)。

The OP did ask about running tasks, so instead if selecting 'Graphics State' select 'Activity Manager State' and you'll find more information (although I found it simpler to view the information in 'Graphics State' for specifically looking at what Activities are in the back stack).

这篇关于显示返回的Andr​​oid栈的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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