Android Question How to Add Manually AutoTextSizeLabel to a View

EduardoElias

Well-Known Member
Licensed User
Longtime User
When doing manually I get:

B4X:
RoundPanel.AddView(FInputEdit, 0, 0, RoundPanel.W
javac 1.8.0_60
src\yashar\yPinPadDlg\ypinpaddlg.java:230: error: incompatible types: autotextsizelabel cannot be converted to View
_roundpanel.AddView((android.view.View)(__ref._finputedit /*b4a.example3.autotextsizelabel*/ ),(int) (0),(int) (0),_roundpanel.getWidth(),_roundpanel.getHeight());
                                       ^

So, it seems it is ready to work with the designer window only.

How can I change it to be a view?
 
Top