@Nullable
    public CharSequence getDrawerTitle(@EdgeGravity int edgeGravity) {
        final int absGravity = GravityCompat.getAbsoluteGravity(
                edgeGravity, ViewCompat.getLayoutDirection(this));
        if (absGravity == Gravity.TOP) {
            return mTitleTop;
        } else if (absGravity == Gravity.BOTTOM) {
            return mTitleBottom;
        }
        return null;
    }
Returns the title of the drawer with the given gravity.

@param edgeGravity Gravity.TOP, RIGHT, START or END. Expresses which
                   drawer to return the title for.
@return The title of the drawer, or null if none set.
@see #setDrawerTitle(int, CharSequence)
app/src/main/java/com/sunnyweather/android/ui/customerUIs/HomeDrawerLayout.java