Android - 导航栏 - 最左边的三角形方法名称

时间:2016-02-10 13:29:59

标签: android navigationbar searchbar method-names

By default the triangle is towards left and if i click on search option ,It opens up edit text on the top & virtual keyboard , the triangle changes its shape to downwards**,CLICK FOR IMAGE 1** Now when i tap on down triangle it only closes the virtual keyboard not the edit text & virtual keyboard together**,CLICK FOR IMAGE 2**在屏幕底部的Android应用程序的Navigation Bar中,最左边的三角形图标定义了onKeyDown方法默认情况下& onBackPressed方法执行相同的任务(默认情况下左侧指向三角形)..

如果有一个编辑框并且虚拟键盘处于打开状态,那么三角形的形状会向下变化,如果我按下它(它只关闭虚拟键盘,而不是编辑框(搜索栏)&将其形状改回左侧指三角形)..

我想知道下方三角形的方法名称,以便我可以覆盖它&关闭编辑框&同时虚拟键盘..(就像在我的应用程序和游戏中搜索某些东西时在Play商店中发生的那样)..提前感谢解决方案....

1 个答案:

答案 0 :(得分:1)