Open kotran88 opened 6 years ago
image clicked
as above, even though I set Text on floatingactionbutton, text is not shown,
my code is as belows. I don't think code is problem because I get it from example code in here.
ContextThemeWrapper context = new ContextThemeWrapper(ccontext, R.style.MenuButtonsStyle); FloatingActionButton programFab2 = new FloatingActionButton(context); programFab2.setLabelText("Programmatically added button"); programFab2.setImageResource(R.drawable.addicon);
ContextThemeWrapper context = new ContextThemeWrapper(ccontext, R.style.MenuButtonsStyle);
FloatingActionButton programFab2 = new FloatingActionButton(context);
programFab2.setLabelText("Programmatically added button");
programFab2.setImageResource(R.drawable.addicon);
` actionMenu.addMenuButton(programFab2);`
image clicked
as above, even though I set Text on floatingactionbutton, text is not shown,
my code is as belows. I don't think code is problem because I get it from example code in here.
ContextThemeWrapper context = new ContextThemeWrapper(ccontext, R.style.MenuButtonsStyle);
FloatingActionButton programFab2 = new FloatingActionButton(context);
programFab2.setLabelText("Programmatically added button");
programFab2.setImageResource(R.drawable.addicon);