Android Question Betterdialog change text of title and btnOK, btnCancel at runtime?

welu1805

Active Member
Licensed User
Longtime User
Hi all,

I want to use a betterdialog to choose the language of the apps UI by the user. I have a ultimate listview (ULV) in the pnlBody. In each entry of the ULV is a banner and a text of a country and its language. If the user clicks on an entry in the ULV I would change the text of the title and the btnOK and btnCancel to the selected language. This will be at runtime.

How can I change the text of title, btnOK and btnCancel at runtime.

Lutz
 

welu1805

Active Member
Licensed User
Longtime User
I forgot to write, that I mean a custom dialog.

I found a solution by myself:

Add the title and the ok and cancel button to the custom panel (pnlBody) and do NOT use the parameters for these views. Then the text can be changed.
 
Upvote 0
Top