Fancybuttons
Fancybuttons copied to clipboard
Icons, Borders, Radius ... for Android buttons
but it works in settings below ` FancyButton foursquareBtn = new FancyButton(this); foursquareBtn.setText("Check in"); foursquareBtn.setBackgroundColor(Color.parseColor("#0072b1")); foursquareBtn.setFocusBackgroundColor(Color.parseColor("#228fcb")); foursquareBtn.setTextSize(17); foursquareBtn.setRadius(5); foursquareBtn.setIconResource("\uf180"); foursquareBtn.setIconPosition(FancyButton.POSITION_TOP); foursquareBtn.setFontIconSize(60);` how can I import myself iconresource in a way...
The code I use: ``` ``` The error I get: ``` Class referenced in the layout file, mehdi.sakout.fancybuttons.FancyButton, was not found in the project or the libraries Cannot resolve class...
Topic
Took example from samples but it has no ripple effect. Am I missing something?
mDefaultTextSize = (int) attrsArray.getDimension(R.styleable.FancyButtonsAttrs_fb_textSize, mDefaultTextSize); mDefaultTextSize = (int) attrsArray.getDimension(R.styleable.FancyButtonsAttrs_android_textSize, mDefaultTextSize); mTextAllCaps = attrsArray.getBoolean(R.styleable.FancyButtonsAttrs_fb_textAllCaps, false); mTextAllCaps = attrsArray.getBoolean(R.styleable.FancyButtonsAttrs_android_textAllCaps, false);
Can you please update Font Awesome to the latest version?
as it extends from linear layout trying to add textStyle="bold" can't do this and the button attributes don't support that also
I was created a class extends class FancyButton like this : `public class BorderButton extends FancyButton { public BorderButton(Context context) { super(context); changeThemeButton("#29a19c","#29a19c"); } public BorderButton(Context context, AttributeSet attrs) {...
Hi team, I'm not able to sync gradle for this `implementation "com.android.support:appcompat-v7:$support_lib_version"` I'm using Android Studio 3.2.1 buil on October 9, 2018 Hope someone can help