I created a button programmatically:
Button button = new Button(getApplicationContext());
button.setTextSize(30);
button.setGravity(Gravity.START);
button.setText("Button");
Now I want to add a CheckBox to the button. Is there a good way to do this?
Aucun commentaire:
Enregistrer un commentaire