중요 부분 소스입니다.  갑자기 이게 막혀버려서 ㅠㅠ

void makeButtonsView() {
mButtonsView = getLayoutInflater().inflate(R.layout.buttons,null);
mEditView=getLayoutInflater().inflate(R.layout.custom_dialog, null);
mFilenameView = (TextView)mButtonsView.findViewById(R.id.NameText);
mPageSlider = (SeekBar)mButtonsView.findViewById(R.id.pageSlider);
mPageNumberView = (TextView)mButtonsView.findViewById(R.id.pageNumber);
mEditText = (EditText)mEditView.findViewById(R.id.editText1);
mTopBarSwitcher = (ViewSwitcher)mButtonsView.findViewById(R.id.switcher);
mTopBarSwitcher.setVisibility(View.INVISIBLE);
mPageNumberView.setVisibility(View.INVISIBLE);
mPageSlider.setVisibility(View.INVISIBLE);
}


@Override
public boolean onOptionsItemSelected(MenuItem item) {
// TODO Auto-generated method stub
super.onOptionsItemSelected(item);
switch(item.getItemId()){
case R.id.itemPage :
Context mContext = getApplicationContext();
LayoutInflater inflater = (LayoutInflater) mContext.getSystemService(LAYOUT_INFLATER_SERVICE);
View layout = inflater.inflate(R.layout.custom_dialog,(ViewGroup) findViewById(R.id.layout_root));
AlertDialog.Builder aDialog = new AlertDialog.Builder(RiaPDFActivity.this);
aDialog.setTitle("현재 페이지"+"    "+mPageNumberView.getText().toString());
aDialog.setView(layout);
aDialog.setPositiveButton("확인", new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int which) {
String str = mEditText.getText().toString();
int page = Integer.parseInt(str);
mPageSlider.setProgress(page);
}
});
aDialog.setNegativeButton("취소", null);
AlertDialog ad = aDialog.create();
ad.show();

return true;
case R.id.itemActivity :
return true;
}
return false;
}


질문 들이고 싶은것은 다름이 아니라 검정색 부분과 빨간색 부분에서 인플레이트가 서로 다르기 때문에 주황생부분 str에서
디버깅 모드를 실행하면 값이 "" 이렇게 들어오게되는되요. 그이유가 서로다른 인플레이트에서 불러와서 그런지 궁금합니다.

만약 그렇다면 이것을 어떻게 해결해야되는지 알고싶습니다.

전문가 님들 도와주세용,.