Android Question How detect edittext contain how many character

devmobile

Active Member
Licensed User
Hello
I set Edittext in layout with multiline properties to true
I want to detect how many character can be store this Edittext with current Width and Height(current position)
Example in Edittext with (Left=0,Top=0,Width=5dip,Height=50dip),it can store 10 character that can be seen
 
Top