You need to call extend() method on ExtendedFloatingActionButton after setting a text to show icon an text.
extend()
ExtendedFloatingActionButton
final ExtendedFloatingActionButton fab = view.findViewById(R.id.fab); fab.setText("Save"); fab.extend();