【发布时间】:2016-02-10 13:29:59
【问题描述】:
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方法执行相同的任务(这是左侧默认指向三角形)..
如果有一个编辑框并且虚拟键盘是打开的,那么三角形会向下改变它的形状,如果我按下它(它只会关闭虚拟键盘,而不是编辑框(搜索栏)并将它的形状改变回左边边指向三角形)..
我想知道下方三角形的方法名称,以便我可以覆盖它并同时关闭编辑框和虚拟键盘..(就像它发生在游戏中一样当您在“我的应用程序和游戏”中搜索某些内容时存储).. 提前感谢您的解决方案....
【问题讨论】:
标签: android navigationbar searchbar method-names