When defStyleAttr == 0 do not report missing style

If we pass the default value to defStyleAttr but we do pass a value to
defStyleRes do not report it as a warning.

Test: Added new test
Change-Id: Ie1cbe9803bd500953b454f408b39636b0c02eeb7
(cherry picked from commit aa8025d3bfe541dfc633bd001724140f8def8f25)
2 files changed