Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 669760a commit 4f78e6aCopy full SHA for 4f78e6a
magic/src/main/java/br/com/bloder/magic/view/MagicButton.java
@@ -82,7 +82,7 @@ private void setSizes() {
82
buttonIcon.getLayoutParams().height = (int) typedArray.getDimension(R.styleable.MagicButton_magic_button_size, 50);
83
icon.getLayoutParams().width = (int) typedArray.getDimension(R.styleable.MagicButton_button_icon_width, 25);
84
icon.getLayoutParams().height = (int) typedArray.getDimension(R.styleable.MagicButton_button_icon_height, 25);
85
- text.setTextSize(typedArray.getDimension(R.styleable.MagicButton_magic_button_size , 20) / 7);
+ text.setTextSize(typedArray.getDimension(R.styleable.MagicButton_hide_text_size , 15));
86
}
87
88
private void baseAction() {
0 commit comments