can i get onclicklistener of edittext annotation? I want to disable click on edittext onclicklistener after added the text
can the width of edittext blank and shown to pdf? and then the width change as according text is added
write now i am doing with page.AddAnnotEditbox(rect, 0xFFD50321, 1, Color.TRANSPARENT, 20, Color.BLACK);; method
but the problem with float rect = new float;
rect = x;
rect = y;
rect = x + 200;
rect = y + 100;
it grab the following rect
The topic has been locked.
edittext annotation click listener
2 years 11 months ago #10356
But how can i resize the edittext as i enter the character .so edittext size will change as character enter.
actually i want the edittext in such a way that first time its show show 1 character size with black border once user tap on it .he/she can enter the text then the size of edittext is adjustable as input text. . if user delete some character from edittext then size will decrease .
after add the text . the edittext will not be modified
how can i do that
your suggested method make edittext object with specfic lenght