OK, now it works
. Was not so clear to me that I had to exchange the directory "res".
I can also enter text for each line in the spinner individually or just as an array.
If individually possible please a sample line.
Thanks for the help of everyone.
The label "l1" I do not want to create in the designer but in the code. What do I need to register?