|
|
@ -22,6 +22,7 @@ import android.content.Context;
|
|
|
|
import android.graphics.Color;
|
|
|
|
import android.graphics.Color;
|
|
|
|
import android.graphics.Rect;
|
|
|
|
import android.graphics.Rect;
|
|
|
|
import android.graphics.drawable.ColorDrawable;
|
|
|
|
import android.graphics.drawable.ColorDrawable;
|
|
|
|
|
|
|
|
import android.util.Log;
|
|
|
|
import android.view.Gravity;
|
|
|
|
import android.view.Gravity;
|
|
|
|
import android.view.LayoutInflater;
|
|
|
|
import android.view.LayoutInflater;
|
|
|
|
import android.view.View;
|
|
|
|
import android.view.View;
|
|
|
@ -241,7 +242,12 @@ public abstract class QuickActionWidget extends PopupWindow {
|
|
|
|
|
|
|
|
|
|
|
|
showArrow();
|
|
|
|
showArrow();
|
|
|
|
prepareAnimationStyle();
|
|
|
|
prepareAnimationStyle();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
try {
|
|
|
|
showAtLocation(anchor, Gravity.NO_GRAVITY, 0, mPopupY);
|
|
|
|
showAtLocation(anchor, Gravity.NO_GRAVITY, 0, mPopupY);
|
|
|
|
|
|
|
|
} catch (Exception e) {
|
|
|
|
|
|
|
|
Log.w("quick-action-show", e);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
protected void clearQuickActions() {
|
|
|
|
protected void clearQuickActions() {
|
|
|
|