diff --git a/src/com/github/eddieringle/android/libs/undergarment/widgets/DrawerGarment.java b/src/com/github/eddieringle/android/libs/undergarment/widgets/DrawerGarment.java index 79b2f3c..2d5c21f 100644 --- a/src/com/github/eddieringle/android/libs/undergarment/widgets/DrawerGarment.java +++ b/src/com/github/eddieringle/android/libs/undergarment/widgets/DrawerGarment.java @@ -243,9 +243,11 @@ protected void onLayout(boolean changed, int left, int top, int right, int botto } else { mDrawerContent.layout(left, 0, right, bottom); if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) { - mDecorContent.layout(left, 0, right, bottom); + mDecorContent.layout(mDecorContent.getLeft(), 0, + mDecorContent.getLeft() + right, bottom); } else { - mDecorContent.layout(left, top, right, bottom); + mDecorContent.layout(mDecorContent.getLeft(), top, + mDecorContent.getLeft() + right, bottom); } }