It sounds like you're testing the app on a device with a screen that's 320dp wide. With the default padding for the activity (16dp), there's not enough space to show a 320x50 test banner. Try removing the android:paddingRight and android:paddingLeft attributes from the RelativeLayout in activity_main.xml, and then recompiling the app.