Update SampleActivity.java

I added a method that is called in the on create method. It gets info related to the current display. A variable from this method is called from the flyOutContainer class to set the margin dynamically based on the current screen. This will help with screens of different sizes.