I have a problem with popup window. I want to create popup window with my own layout. This is code:
public class PopupWindowView extends PopupWindow{
P
You can use LayoutInflater
LayoutInflater inflater = (LayoutInflater) act.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
View view = inflater.inflate(R.layout.custom_layout, null); //custom_layout is your xml file which contains popuplayout
LinearLayout layout = (LinearLayout) view.findViewById(R.id.popuplayout);