Android Question How to change TextSize Dialog

AHilberink

Active Member
Licensed User
Longtime User
Hi,

I use:
B4X:
        Dim Telefoonnummer As Label
        Dim Dialog As B4XDialog

        Dialog.Initialize(Activity)
        Telefoonnummer.Initialize("")
        Telefoonnummer.TextSize=16
        Telefoonnummer.Text=TelefoonList.Get(RowRol)
        Dim rs As Object = Dialog.ShowCustom(Telefoonnummer, "", "", "Ok")
        Wait For (rs) Complete (Result As Int)

There is something going wrong. I just get nothing, only the waiting to Complete.
Can someone point me to the right direction?
Kind regards,
André
 

teddybear

Well-Known Member
Licensed User
Why do you use a Label as a content?
ShowCustom - Allows you to pass a layout of your own and show it as a dialog, it should be a panel with a layout.
 
Upvote 0
Top