|
|
|
@ -1,6 +1,8 @@ |
|
|
|
|
package org.floens.chan.ui.helper; |
|
|
|
|
|
|
|
|
|
import android.content.Context; |
|
|
|
|
import android.graphics.Color; |
|
|
|
|
import android.graphics.drawable.ColorDrawable; |
|
|
|
|
import android.view.LayoutInflater; |
|
|
|
|
import android.view.View; |
|
|
|
|
import android.view.ViewGroup; |
|
|
|
@ -29,6 +31,8 @@ public class HintPopup { |
|
|
|
|
textView.setText(text); |
|
|
|
|
|
|
|
|
|
final PopupWindow popupWindow = new PopupWindow(popupView, ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.WRAP_CONTENT); |
|
|
|
|
popupWindow.setOutsideTouchable(true); |
|
|
|
|
popupWindow.setBackgroundDrawable(new ColorDrawable(Color.TRANSPARENT)); |
|
|
|
|
|
|
|
|
|
popupView.setOnClickListener(new View.OnClickListener() { |
|
|
|
|
@Override |
|
|
|
|