[gradle] Only account for Node elements in LayoutResourceParser

Fixes #13