Obsolete
Status Update
Comments
tn...@google.com <tn...@google.com> #2
These changes would be really nice! Being able to change the text colour is really important as it now doesn't match the rest of our app either.
Stack overflow posting -http://stackoverflow.com/questions/32533069/how-to-change-a-title-color-in-chrome-custom-tabs
Stack overflow posting -
ch...@google.com <ch...@google.com> #3
Changing text color and the overflow icon color is important to us too! Awesome work on the feature though.
Description
SDK tools version (available in the "About" section of the 'android' tool
UI): 21.1
Eclipse version: N/A
ADT plug-in version: N/A
Platform targeted by your project: android-17
STEPS TO REPRODUCE:
1. Create an a string-array resource with multiple localizations.
2. Have some of the localizations be of a different length, so that Lint reports an InconsistentArrays error
3. Add tools:ignore to all of the string-array elements (even though some of them have the same size)
4. Run lint
EXPECTED RESULTS:
Lint completes successfully and ignores the InconsistentArrays error.
OBSERVED RESULTS:
Lint crashes with a NullPointerException.
If I leave at least one instance of string-array without a tools:ignore flag, lint works as expected.
ADDITIONAL INFORMATION:
Stacktrace:
[lint] Exception in thread "main" java.lang.NullPointerException
[lint] at com.android.tools.lint.detector.api.Location.reverse(Location.java:510)
[lint] at com.android.tools.lint.checks.ArraySizeDetector.afterCheckProject(ArraySizeDetector.java:178)
[lint] at com.android.tools.lint.client.api.LintDriver.checkProject(LintDriver.java:821)
[lint] at com.android.tools.lint.client.api.LintDriver.runExtraPhases(LintDriver.java:436)
[lint] at com.android.tools.lint.client.api.LintDriver.analyze(LintDriver.java:391)
[lint] at com.android.tools.lint.Main.run(Main.java:616)
[lint] at com.android.tools.lint.Main.main(Main.java:149)