Obsolete
Status Update
Comments
ar...@google.com <ar...@google.com> #2
Thank you for reporting this issue. For us to further investigate this issue, please provide the following additional information:
Steps to reproduce
Please provide source code or apk of a sample application to reproduce the issue.
Also kindly mention the steps to be followed for reproducing the issue with the given sample application.
Frequency
How frequently does this issue occur? (e.g 100% of the time, 10% of the time)
Expected output
Could you please share screenshot of the expected behavior.
Steps to reproduce
Please provide source code or apk of a sample application to reproduce the issue.
Also kindly mention the steps to be followed for reproducing the issue with the given sample application.
Frequency
How frequently does this issue occur? (e.g 100% of the time, 10% of the time)
Expected output
Could you please share screenshot of the expected behavior.
lb...@gmail.com <lb...@gmail.com> #3
@2 Actually, now that I've looked at it, this issue is a request flavor of what I wrote a few months ago, that was in the flavor of bug report:
https://issuetracker.google.com/issues/38468964
In it , you can try the code and the app by yourself, to see this issue occurs.
In any case, here's the information you need:
Steps to reproduce
1. Open the app
2. change the width of the TextView using the slider. You can also change the text and the height, if this didn't help.
Please provide source code or apk of a sample application to reproduce the issue.
Check the link above.
Frequency
Eventually, you will get it.
It depends on your input : text font sizes, text, width, height,...
Expected output
To never have a word wrap of the text. It should be the last resort, if it couldn't change the font size anymore, as it reached the minimal font size we've told it to.
Could you please share screenshot of the expected behavior.
I've already attached it. Please look at the files and links. Even had a video.
In it , you can try the code and the app by yourself, to see this issue occurs.
In any case, here's the information you need:
Steps to reproduce
1. Open the app
2. change the width of the TextView using the slider. You can also change the text and the height, if this didn't help.
Please provide source code or apk of a sample application to reproduce the issue.
Check the link above.
Frequency
Eventually, you will get it.
It depends on your input : text font sizes, text, width, height,...
Expected output
To never have a word wrap of the text. It should be the last resort, if it couldn't change the font size anymore, as it reached the minimal font size we've told it to.
Could you please share screenshot of the expected behavior.
I've already attached it. Please look at the files and links. Even had a video.
ar...@google.com <ar...@google.com> #4
We are not observing this issue in Android O MR 1 Developer Preview build.
Attached the video for reference.
No single letter is wrapped to next line instead the word is wrapped to next line.
Can you kindly check and confirm you are observing the issue on Android O MR 1 Developer Preview build?
Attached the video for reference.
No single letter is wrapped to next line instead the word is wrapped to next line.
Can you kindly check and confirm you are observing the issue on Android O MR 1 Developer Preview build?
lb...@gmail.com <lb...@gmail.com> #5
@4 First of all, this should be for all Android versions. Not just Android O.
Second, I can see in your own video that the text wraps, in the entire first 3 seconds, and from 8-12 seconds.
If the text can resize its font down to the one shown on second 13 , why would I still see word wrap on second 3 ?
See attached images.
Third, the request isn't only to avoid it. It's also for giving us the choice of what to do if resizing can't be done anymore.
Second, I can see in your own video that the text wraps, in the entire first 3 seconds, and from 8-12 seconds.
If the text can resize its font down to the one shown on second 13 , why would I still see word wrap on second 3 ?
See attached images.
Third, the request isn't only to avoid it. It's also for giving us the choice of what to do if resizing can't be done anymore.
lb...@gmail.com <lb...@gmail.com> #6
@4 If you try my repo here:
https://github.com/AndroidDeveloperLB/AutoFitTextView
- you will notice it resizes the fonts better. Still has some issues, but at least for this case, it always tries to resize first instead of word-wrap.
- you will notice it resizes the fonts better. Still has some issues, but at least for this case, it always tries to resize first instead of word-wrap.
ar...@google.com <ar...@google.com> #7
We have shared this with our engineering team and will update this issue with more information as it becomes available.
is...@google.com <is...@google.com>
ar...@google.com <ar...@google.com>
lb...@gmail.com <lb...@gmail.com> #8
Any news about this?
It still occurs even on Pixel 2 with Android P :
implementation 'androidx.appcompat:appcompat:1.0.2'
Attached sample project.
It still occurs even on Pixel 2 with Android P :
implementation 'androidx.appcompat:appcompat:1.0.2'
Attached sample project.
be...@gmail.com <be...@gmail.com> #9
+1 !
sa...@google.com <sa...@google.com> #10
We will be closing this bug as Obsolete. If you still think this issue is reproducible and relevant in the latest Android release (Android Q), please attach a new bug report along with reproduction details. If a reply is not received within the next 14 days, this issue will be closed. Thank you for your understanding.
lb...@gmail.com <lb...@gmail.com> #11
@10 Bug still occurs.
See attached sample.
Why close it?
See attached sample.
Why close it?
ad...@google.com <ad...@google.com>
cc...@google.com <cc...@google.com>
cc...@google.com <cc...@google.com>
al...@google.com <al...@google.com> #12
This issue was filed against the top-level component, which is not monitored, and has exceeded the age limit for triage to the appropriate sub-component.
If this issue is still relevant, please re-file it against the appropriate sub-component.
If this issue is still relevant, please re-file it against the appropriate sub-component.
Description
I would always prefer to change the font size, instead of wrapping the text.
Wrapping should only be the last solution, if we reached the minimal font size.
It should also be optional, because there are other solutions: letting it truncate (with optional "..."), or move in animation.