@Override
    protected void onAttachedToWindow() {
        super.onAttachedToWindow();
        mAttached = true;
    }
FrameLayout which caches the hardware layer if available.
<p/>
If it's not posted twice the layer either wont be built on start, or it'll be built twice.
menudrawer/src/net/simonvt/menudrawer/BuildLayerFrameLayout.java