//footer view
View fv = inflater.inflate(R.layout.font_popup_footer, null, false);
Button btnCancel = (Button)fv.findViewById(R.id.btnpopup_ancel);
btnCancel.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
popup.dismiss();
}
});
//Header view
View hv = inflater.inflate(R.layout.font_popup_header, null, false);
TextView headtv = (TextView)hv.findViewById(R.id.txt_Popup_header);
headtv.setTypeface(TsciiTypeface.getTypeface(this));
btnCancel.setTypeface(TsciiTypeface.getTypeface(this));
fontSizeListView.addHeaderView(hv);
//fontSizeListView.addFooterView(fv);