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

digits from strings [wiki] #107

Open
InsaneDoggo opened this issue Jul 19, 2020 · 1 comment
Open

digits from strings [wiki] #107

InsaneDoggo opened this issue Jul 19, 2020 · 1 comment

Comments

@InsaneDoggo
Copy link

Where

On wiki page described following code:
android:digits="1234567890+-() "

Describe the bug

It's a common practice to extract stuff such as digits to strings.xml. The problem is that Android removes spaces at the beginning or the end of string.

Solution

  1. Add note about it to the wiki.
  2. Put space into the middle "1234567890 +-()"
@taflanidi
Copy link
Collaborator

Hey @ceh9,
Thanks a lot for your report.

I'm going to add this information to our Wiki a little bit later this week, including the reference to the original string assets bug.
Nice catch!

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

No branches or pull requests

2 participants