Android Question AutoCompleteEditText + AutoTextSizeLabel

jai76

Member
Licensed User
Longtime User
Hi all,

Currently I have a "customview" named as "MalayDisplay" created for AutoTextSizeLabel.
And I also wanted to used this customview as AutoCompleteEditText.
I already create as below,
Dim malayDisplay as AutoTextSizeLabel.
then I add under it "Dim MalayDisplay as AutoCompleteEditText" (occurred an error)
The reason to create auto text size label is because wanted to run the apps on Tab and phone, so the size of text is auto adjust.
The reason to have AutoCompleteEditText for more convenience to find a words.
What should i do?
Please advice.
B4X:
Sub Globals
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
Dim Here1,here2,cover As Label
Dim Imv1 As ImageView
Dim Malaylabel, EngLabel, ArabLabel, title1 As Label
Dim MalayDisplay, EngDisplay, arabDisplay, Diction As AutoTextSizeLabel
End Sub
 
Top