开发者

how to get android EditText column

开发者 https://www.devze.com 2023-01-14 15:44 出处:网络
I have开发者_C百科 one EditText, and I want to get the current column position. I am using SDK 1.5

I have开发者_C百科 one EditText, and I want to get the current column position.

I am using SDK 1.5

Thanks, Alex


I haven't tried this out, but I'm guessing that either getSelectionStart() or getSelectionEnd() will return the position of the cursor based on the api docs.

0

精彩评论

暂无评论...
验证码 换一张
取 消