Skip to content

Commit 0bac367

Browse files
committed
Partial workaround for theme overriding labels style
Setting textAppearance on label does the trick, unless textViewStyle contains non-textAppearance properties, like background.
1 parent 5aa48b6 commit 0bac367

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/src/main/java/com/getbase/floatingactionbutton/FloatingActionsMenu.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -481,6 +481,7 @@ private void createLabels() {
481481
button.getTag(R.id.fab_label) != null) continue;
482482

483483
TextView label = new TextView(context);
484+
label.setTextAppearance(getContext(), mLabelsStyle);
484485
label.setText(button.getTitle());
485486
addView(label);
486487

0 commit comments

Comments
 (0)