you have just find your button id by this:
Button mydisclamer = (Button)findViewById(R.id.binfo);
and your button is in your PopUp inflated view..
Change with this:
LayoutInflater inflater
= (LayoutInflater)this
.getSystemService(LAYOUT_INFLATER_SERVICE);
View popupView = layoutInflater.inflate(R.layout.disclamer, null);
cp = new PopupWindow(
popupView,
LayoutParams.WRAP_CONTENT,
LayoutParams.WRAP_CONTENT);
So change it with:
Button mydisclamer = (Button)popupView.findViewById(R.id.binfo);