我知道我可以使用属性tools:ignore
忽略 Lint 中的一条规则。
我的困难在于我想要忽略多条规则。对于Google Analytics中的ga_trackingId
,我想要忽略TypographyDashes和MissingTranslation。
我已经尝试过但没有成功。
<resources tools:ignore="TypographyDashes|MissingTranslation" xmlns:tools="https://schemas.android.com/tools" >
和
<resources tools:ignore="TypographyDashes,MissingTranslation" xmlns:tools="https://schemas.android.com/tools" >
和
<resources tools:ignore="TypographyDashes MissingTranslation" xmlns:tools="https://schemas.android.com/tools" >
我现在想不出来了。我如何在tools:ignore
中指定多个值?