Return null instead of triggering a NPE when there are no resource of the asked type. Test: RenderTests.testFonts Change-Id: Ib45ebdf2178e62cbd987082512fcbb009de3f1b2
Layoutlib is a custom version of the android View framework designed to run inside Eclipse. The goal of the library is to provide layout rendering in Eclipse that are very very close to their rendering on devices. None of the com.android.* or android.* classes in layoutlib run on devices.