static String gravityToString(@EdgeGravity int gravity) {
        if ((gravity & Gravity.TOP) == Gravity.TOP) {
            return "TOP";
        }
        if ((gravity & Gravity.BOTTOM) == Gravity.BOTTOM) {
            return "BOTTOM";
        }
        return Integer.toHexString(gravity);
    }
Simple gravity to string - only supports LEFT and RIGHT for debugging output.

@param gravity Absolute gravity value
@return LEFT or RIGHT as appropriate, or a hex string
app/src/main/java/com/sunnyweather/android/ui/customerUIs/HomeDrawerLayout.java