Fix resolution of array items that are attr values

This assumes nothing about the resource it is trying to resolve so that
it can handle values of the for "?attr/...".

Bug: 80301225
Test: layoutlib tests
Change-Id: I0dc1e59e44da1c810f4c6db189d4b268450533ee
1 file changed