Add missing @TargetApi. Add buildNamedValueString static import.

1. ``ViewGroup.getLayoutMode()`` was added in API level 18.
2. Just a static import.