package com.thefinestartist.wip; import android.graphics.drawable.Drawable; import android.graphics.drawable.RippleDrawable; import android.view.View; import com.thefinestartist.utils.etc.APILevel; /** * Created by TheFinestArtist on 2/21/16. */ public class RippleUtil { // public static void forceEvent(View view, float x, float y) { // Drawable background = view.getBackground(); // if (APILevel.require(21)) { // if (background instanceof RippleDrawable) { // RippleDrawable ripple = (RippleDrawable) background; // ripple.setHotspot(x, y); // ripple.setVisible(true, true); // } // } // } }