new version of lint is more aggressive at announcing UnusedResources
These are in fact needed: /export/share/code/fdroid/client/app/src/main/res/values/dimens.xml:25: Error: The resource R.dimen.fixed_width_padding appears to be unused [UnusedResources] <dimen name="fixed_width_padding">2dp</dimen> ~~~~~~~~~~~~~~~~~~~~~~~~~~ /export/share/code/fdroid/client/app/src/main/res/values/styles.xml:162: Error: The resource R.style.SwapTheme_StartSwap appears to be unused [UnusedResources] <style name="SwapTheme.StartSwap" parent="AppThemeLight"> ~~~~~~~~~~~~~~~~~~~~~~~~~~ /export/share/code/fdroid/client/app/src/main/res/values/styles.xml:166: Error: The resource R.style.SwapTheme_StartSwap_Text appears to be unused [UnusedResources] <style name="SwapTheme.StartSwap.Text" parent="@style/SwapTheme.StartSwap"> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This commit is contained in:
parent
898c731fcc
commit
7b679ef57c
@ -11,6 +11,8 @@
|
||||
<!-- These are important to us, so promote from warning to error -->
|
||||
<issue id="UnusedResources" severity="error">
|
||||
<ignore path="src/main/res/drawable/category_**.png" />
|
||||
<ignore path="src/main/res/values/dimens.xml"/>
|
||||
<ignore path="src/main/res/values/styles.xml"/>
|
||||
</issue>
|
||||
<issue id="AppCompatMethod" severity="error"/>
|
||||
<issue id="NestedScrolling" severity="error"/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user