@@ -0,0 +1,689 @@
+package com.angcyo.uiview.base;%0D%0A%0D%0Aimport android.content.Context;%0D%0Aimport android.graphics.Color;%0D%0Aimport android.graphics.drawable.ColorDrawable;%0D%0Aimport android.widget.PopupWindow;%0D%0A%0D%0A/**%0D%0A * Copyright (C) 2016,%E6%B7%B1%E5%9C%B3%E5%B8%82%E7%BA%A2%E9%B8%9F%E7%BD%91%E7%BB%9C%E7%A7%91%E6%8A%80%E8%82%A1%E4%BB%BD%E6%9C%89%E9%99%90%E5%85%AC%E5%8F%B8 All rights reserved.%0D%0A * %E9%A1%B9%E7%9B%AE%E5%90%8D%E7%A7%B0%EF%BC%9A%0D%0A * %E7%B1%BB%E7%9A%84%E6%8F%8F%E8%BF%B0%EF%BC%9A%0D%0A * %E5%88%9B%E5%BB%BA%E4%BA%BA%E5%91%98%EF%BC%9ARobi%0D%0A * %E5%88%9B%E5%BB%BA%E6%97%B6%E9%97%B4%EF%BC%9A2017/06/29 15:51%0D%0A * %E4%BF%AE%E6%94%B9%E4%BA%BA%E5%91%98%EF%BC%9ARobi%0D%0A * %E4%BF%AE%E6%94%B9%E6%97%B6%E9%97%B4%EF%BC%9A2017/06/29 15:51%0D%0A * %E4%BF%AE%E6%94%B9%E5%A4%87%E6%B3%A8%EF%BC%9A%0D%0A * Version: 1.0.0%0D%0A */%0D%0Apublic class RPopupWindow extends PopupWindow %7B%0D%0A%0D%0A    public RPopupWindow(Context context) %7B%0D%0A        super(context);%0D%0A%0D%0A        setBackgroundDrawable(new ColorDrawable(Color.RED));%0D%0A    %7D%0D%0A%0D%0A    public static RPopupWindow build(Context context) %7B%0D%0A        return new RPopupWindow(context);%0D%0A    %7D%0D%0A%7D%0D%0A

add popup window