当它被禁用如何删除Android设备上编辑文本重点是什么? [英] how to remove android edit text focus when it is disabled?

查看:95
本文介绍了当它被禁用如何删除Android设备上编辑文本重点是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在小型设备上的软键盘的下一步按钮用于不接触编辑文本输入编辑文本的价值。

In small devices soft keyboard's "NEXT" button is used to enter the value for edit texts without touching the edit text.

这是非常有用的,当多个入口被填补。

This is very helpful when multiple entry is to be filled..

但我禁用之间,所以我不能点到为止编辑文本两个编辑文本。下一个关键皮...

But i disabled two edit text in between so i can't go beyond that edit text. the next key hides...

我用

的android:imeOptions =actionUnspecified

对于那些两个编辑文本,但没有运气...

for those two edit texts but no luck...

任何解决方案?

推荐答案

你试过将它们设置为不聚焦的?

Have you tried to set them to be non-focusable?

yourEditText.setFocusable( false );
yourEditText.setFocusableInTouchMode( false );

XML

android:focusable="false"
android:focusableInTouchMode="false"

希望这个作品送给你。

Hope this works out for you.

这篇关于当它被禁用如何删除Android设备上编辑文本重点是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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