fab: Use themed context to set style

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya
2018-06-05 02:05:23 +02:00
committed by Jason A. Donenfeld
parent 27072972ab
commit dba8d0305e
@@ -415,7 +415,7 @@ public class FloatingActionsMenu extends ViewGroup {
button.getTag(R.id.fab_label) != null) continue; button.getTag(R.id.fab_label) != null) continue;
final AppCompatTextView label = new AppCompatTextView(context); final AppCompatTextView label = new AppCompatTextView(context);
label.setTextAppearance(getContext(), mLabelsStyle); label.setTextAppearance(context, mLabelsStyle);
label.setText(button.getTitle()); label.setText(button.getTitle());
addView(label); addView(label);