Android Question for AutoSize Text, How to use AutoTextSizeLabel Class? Can any one give me examples?

sunil thomas

Member
Licensed User
Longtime User
for AutoSize Text, can we use AutoTextSizeLabel Class? How to use AutoTextSizeLabel Class? Can any one give me examples?
Can any one share me kLAUS Class for Auto text size?
 

sunil thomas

Member
Licensed User
Longtime User
Did you look at the explanations in the AutoTextSizeLabel Class thread and look at the example program which is provided there?
For the AutoScale Code Module I answered HERE.

I had seen "the AutoTextSizeLabel Class thread" and the example program,in the example program the class file I have seen, but I don't know how to use that Class. In the main code window the class modules never used.
Can you please help me how to use the "AutoTextSizeLabel Class"? Can you give me an example?
 
Upvote 0

klaus

Expert
Licensed User
Longtime User
The AutoTextSizeLabel CustomViews are added in the Designer.
All properties are defined in the Designer.
The text for CustomView1 is changed in the code.
For this it ist declared in Sub Globals: Dim CustomView1 As AutoTextSizeLabel
And the text is changed in Sub Activity_Create: CustomView1.Text = "This is a very long sentence."
So, I don't understand what you don't understand?
Explain what you want to do, or what you do expect.
 
Upvote 0
Top