I need to extends Button vidget there can be overrided label text. For ex:
button.seText("bla bla bla bla");
and get in view label “bla…bla”. It’s such as standart singleLine="true", but result like bla bla… is not good for me.
I created class CustomButton extends Button and now what method I need to override for my result?
Set
linesattribute of your button1andellipsizemiddle.SignleLineis deprecated now.