Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how can I change pic icon size #46

Closed
zhew117 opened this issue Feb 24, 2016 · 1 comment
Closed

how can I change pic icon size #46

zhew117 opened this issue Feb 24, 2016 · 1 comment

Comments

@zhew117
Copy link

zhew117 commented Feb 24, 2016

I am using R.drawable.xxx.jpg for icon. But looks like there is no way to change the size.

@zhew117
Copy link
Author

zhew117 commented Feb 24, 2016

    mFbWeiXinLogin.setIconResource(R.drawable.umeng_socialize_wechat);
    mFbWeiXinLogin.setIconPosition(FancyButton.POSITION_LEFT);
    mFbWeiXinLogin.getIconImageObject().setLayoutParams(new LinearLayout.LayoutParams(50, 50));

I got the mIconView and setLayoutParams

@zhew117 zhew117 closed this as completed Feb 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant