I am having an issue with grabbing my Buttons and other elements from within my PopupWindow, using the debugger it just report back as
try to impliment popupwindow like this.
use this layout.findViewById(R.id.popup_element)); instead of this findViewById(R.id.popup_element));
You can get like
View layout = inflater.inflate(R.layout.activity_register,
(ViewGroup) youractivity.this.findViewById(R.id.popup_element));
btnReg = (Button) layout.findViewById(R.id.btnReg);
inputName = (EditText) layout.findViewById(R.id.name);
inputDOB = (DatePicker) layout.findViewById(R.id.dob);
It's becoz your all the elements coming from inflated layout view and you need to pass context to get your popup_element layout as ViewGroup.