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

Last line is stretched out #23

Open
bupthebroker opened this issue Feb 22, 2017 · 5 comments
Open

Last line is stretched out #23

bupthebroker opened this issue Feb 22, 2017 · 5 comments

Comments

@bupthebroker
Copy link

    <me.biubiubiu.justifytext.library.JustifyTextView
        android:text="@string/main_description"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:id="@+id/textView"
        android:textSize="18sp"
        android:textColor="@color/background_floating_material_light"
        />

The second line end of sentence is handled nicely but the last line is stretched out.

screenshot_2017-02-22-14-26-16

@SupernovasGhost
Copy link

Did you find a fix for this? Same problem

@magiclen
Copy link

The same problem, it looks funny.

@AirbornePanda
Copy link

You need to add a line break at the end of your string. The easiest way is to add an \n at ther end of your string.

@chnouman
Copy link

adding line break works for me.

@ahmadhanis
Copy link

works great..kudos..i've been bugging with this issue for quite a while..

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

6 participants