How to set multiline,firstletter caps and disable suggestions on edittext

 ̄綄美尐妖づ 提交于 2019-12-05 04:14:04

I found solution for this problem

Just set the following parameters in xml file..

android:inputType="textCapSentences|textVisiblePassword" These are for setting first letter of sentence to caps and disable suggestions

and write following code in ur Activity

edittext.setSingleLine(false);

Try setting android:inputType="textMultiLine|textCapSentences|textVisiblePassword". What might be happening is that it is multiline but only one line is currently shown, in which you could say android:minLines="5" or so.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!