在Android的后退按钮 [英] Back button in Android

查看:102
本文介绍了在Android的后退按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经看到了几个Android应用程序,当我遇到一个共同的做法。导航标题没有一个返回按钮。从那时起,我很困惑,以便在我的应用程序的导航标题放置相同的。照片 如果后退按钮被放置在导航(头),或者我们应该把钥匙来处理呢?什么是我们应该遵循的最佳做法是什么?

I have seen couple of Android applications when I came across one common practice. Navigation header does not have a Back button. Since then I was quite confused so as to place the same in the Navigation header of my application.
Should back button be placed in Navigation (Header) or we should leave keys to handle it? What is the best practice we should follow?

感谢

推荐答案

我个人的观点是,每个平台都有自己的处理某些功能的方式。 Apple设备将对其导航栏后退按钮,因为这是一个iPhone用户将寻找它的地方。

My personal view is that each platform has its own way of handling certain functions. An apple device will have a back button on its navigation bar because that is the place where an iphone user will look for it.

至于Android的来讲,因为我们使用物理后退按钮提供的,我们必须离开它,因为这是第一个地方一个Android用户将目光如果他想回去了。

As far as Android is concerned, because we are supplied with a physical back button, we must leave it at that because that is the first place an android user will look to if he wants to go back.

因此​​,因为用户的满意度和易用性是主要关注的问题,我不会与后退按钮播放(除非我要)。

Therefore since user satisfaction and ease of use is the main concern, i would not play with the back button (unless i have to).

这篇关于在Android的后退按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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