We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I have imported Light in my project to show, in special cases, long String alerts. The issue appears when the String has 3 lines or more, for example:
"Welcome" System.lineSeparator() "Name: Diego Gómez Pérez" System.lineSeparator() "You have agreed at 10:00 am"
With these Strings, Light shows:
"Welcome Name: Diego Gómez ..."
I think that you have a maximum of allowed lines, could you please solve it in some way?
Thanks!
The text was updated successfully, but these errors were encountered:
Hi, @dpulgarin
The answer is yes. Light is based on TSnackBar, and TSnackBar has a maxLines limit of SnackBar text(https://github.com/AndreiD/TSnackBar/blob/master/topsnackbar/src/main/res/layout/tsnackbar_layout_include.xml#L29) and the value is 2 or 1 which is defined in android design library (https://github.com/material-components/material-components-android/blob/8f7dc21a27880eed391f45548a40de8189f31172/lib/java/com/google/android/material/snackbar/res/values/config.xml).
Sorry, something went wrong.
Thanks @TonnyL .
Is solved!
No branches or pull requests
Hi,
I have imported Light in my project to show, in special cases, long String alerts. The issue appears when the String has 3 lines or more, for example:
"Welcome"
System.lineSeparator()
"Name: Diego Gómez Pérez"
System.lineSeparator()
"You have agreed at 10:00 am"
With these Strings, Light shows:
"Welcome
Name: Diego Gómez ..."
I think that you have a maximum of allowed lines, could you please solve it in some way?
Thanks!
The text was updated successfully, but these errors were encountered: