boolean isDrawerView(View child) {
        final int gravity = ((LayoutParams) child.getLayoutParams()).gravity;
        final int absGravity = GravityCompat.getAbsoluteGravity(gravity,
                ViewCompat.getLayoutDirection(child));
        if ((absGravity & Gravity.TOP) != 0) {
            // This child is a left-edge drawer
            return true;
        }
        if ((absGravity & Gravity.BOTTOM) != 0) {
            // This child is a right-edge drawer
            return true;
        }
        return false;
    }
Set a drawable to draw in the insets area for the status bar.
Note that this will only be activated if this HomeDrawerLayout fitsSystemWindows.

@param color Color to use as a background drawable to draw behind the status bar
             in 0xAARRGGBB format.
app/src/main/java/com/sunnyweather/android/ui/customerUIs/HomeDrawerLayout.java