Fancybuttons
Fancybuttons copied to clipboard
how to setTextGravity in xml
the attribute "fb_textGravity" can't work in xml but code.
@fiona0419 in LTR? or supporting RTL? you must inside java code to set gravity for text
Hi @fiona0419,
Could you share with us a sample of your code?
fb_textGravity can't work? are you method ?
Still not fixed in version 1.8.4
@diogojg please share your code
<mehdi.sakout.fancybuttons.FancyButton
android:layout_width="match_parent"
android:layout_height="@dimen/material_baseline_grid_8x"
app:fb_textGravity="left"
app:fb_text="Text" />