On GB and older devices FrameLayout has a bug that makes it incorrectly treat margins when gravity is not specified. Bug: 26002719 Change-Id: Ib3deaf8a6cebe3430bf017208bee8c0b956ea430
Adding a new folder in development/samples is not enough to have it be packaged with the SDK. Make sure to edit development/build/sdk.atree to add the sample to the SDK build.