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

Version 3.1.8: Edit-Text causing button text to split into multiple lines #29

Closed
calebpeffer opened this issue May 24, 2020 · 3 comments · Fixed by #37
Closed

Version 3.1.8: Edit-Text causing button text to split into multiple lines #29

calebpeffer opened this issue May 24, 2020 · 3 comments · Fixed by #37

Comments

@calebpeffer
Copy link

Hello,

I found a strange bug with the latest release. When I edit the text of an editText in the same activity as a segmentedButtonGroup, the last character of the text in each of the segmented buttons is pushed to a new-line.

(API level 29)

Reverting to version 3.1.7 solved this issue.

Please let me know if you would like me to share the relevant XML

@addisonElliott
Copy link
Owner

Hello.

Yes, if you can please share any relevant code with me. I'll try to reproduce it.

This seems very odd since very little changed between v3.1.7 and v3.1.8. See here: 3.1.7...3.1.8

@vcoolish
Copy link
Contributor

It also happens after rotation. Can I pull request with a set lines count feature for static layout? It will be very helpful. Also ellipsize feature would be helpful in most cases

@addisonElliott
Copy link
Owner

Sure! That sounds reasonable to me. Thank you

addisonElliott pushed a commit that referenced this issue Jul 1, 2020
*What changed*

Add ability to make text single line with desired truncation type

Example screenshot:

![image](https://user-images.githubusercontent.com/32914239/86135990-31e37c00-baf4-11ea-9221-c7abf9750f7d.png)|

Fixes #29
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

Successfully merging a pull request may close this issue.

3 participants