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 to setTextGravity in xml #96

Open
fiona0419 opened this issue Aug 22, 2017 · 6 comments
Open

how to setTextGravity in xml #96

fiona0419 opened this issue Aug 22, 2017 · 6 comments
Labels

Comments

@fiona0419
Copy link

the attribute "fb_textGravity" can't work in xml but code.

@pishguy
Copy link
Collaborator

pishguy commented Sep 25, 2017

@fiona0419 in LTR? or supporting RTL? you must inside java code to set gravity for text

@medyo
Copy link
Owner

medyo commented Oct 10, 2017

Hi @fiona0419,

Could you share with us a sample of your code?

@rjhsmile
Copy link

rjhsmile commented Mar 7, 2018

fb_textGravity can't work? are you method ?

@diogojg
Copy link

diogojg commented Jul 26, 2018

Still not fixed in version 1.8.4

@pishguy
Copy link
Collaborator

pishguy commented Jul 26, 2018

@diogojg please share your code

@diogojg
Copy link

diogojg commented Jul 26, 2018

<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" />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants