Files
frameworks_base/tools/layoutlib/create/.settings

Copy this in eclipse project as a .settings folder at the root.
This ensure proper compilation compliance and warning/error levels.