2

I have a problem with styling a dynamic created button in my android app. The way I'm doing it is to create the button from it's constructor:

Button myButton = new Button(this, null, R.style.Frontpage_case);

My problem is that the button layout disappears, but the text is still shown? Is there an other way to accomplish dynamic buttons with different styles?

4

0 回答 0