Hello, I have a problem wich I cant solve. I made a bitmap drawable label. I changed the propertys left, hight, left and top in the script. Then I changed the label layout with a png bitmap as
follows: btmLichtblauwLabel.Initialize (LoadBitmap(File.DirAssets, "Knop lichtblauw O.png")) Everything is working perfect. The text is also visible. But when I click a button to change te text
lblMajeurTekst.Text = "Majeur toonladder" The labelsize stays correct, because I can see the text, but the label png image has changed to a smaller size. Cant figure out whats happening.
Can anyone help me with this problem? PS the first time the label gets its text in the activity create section and this works fine.
follows: btmLichtblauwLabel.Initialize (LoadBitmap(File.DirAssets, "Knop lichtblauw O.png")) Everything is working perfect. The text is also visible. But when I click a button to change te text
lblMajeurTekst.Text = "Majeur toonladder" The labelsize stays correct, because I can see the text, but the label png image has changed to a smaller size. Cant figure out whats happening.
Can anyone help me with this problem? PS the first time the label gets its text in the activity create section and this works fine.