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

Lint error #12

Open
emartynov opened this issue May 2, 2019 · 2 comments
Open

Lint error #12

emartynov opened this issue May 2, 2019 · 2 comments

Comments

@emartynov
Copy link
Contributor

We get next lint error after integrated Gander in debug app:

/Users/android_runner_1/.gradle/caches/transforms-2/files-2.1/5890ee85d59f6c9ade9e3338fa7864d2/res/values/values.xml:39: Error: The resource R.font. appears to be unused [UnusedResources]
    <string name="gander_search_request_hint"><font size="12">Search Request and Headers</font></string>
                                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I was trying to suppress it in our lint.xml but failed with all approaches I tried. Do you have a suggestion how to fix it?

Do you think it is lint bug?

Would you mind to add UnusedResource suppression to the library?

@acrosca
Copy link

acrosca commented May 3, 2019

I suspect it's a string format issue, needs CDATA around the html text.

@Ashok-Varma
Copy link
Owner

Did wrapping into CDATA work. If we do that that i guess instead ofSearch Request and Headers, it will be shown as <font size="12">Search Request and Headers</font>

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

3 participants