class GravityCompat {

    public static void apply(int gravity, int w, int h, Rect container,
            Rect outRect, int layoutDirection) {
        if (SDK_INT >= 17) {
            Gravity.apply(gravity, w, h, container, outRect, layoutDirection);
        } else {
            Gravity.apply(gravity, w, h, container, outRect);
        }
    }

    private  GravityCompat();

}