davejohnson/phonegap-plugin-facebook-connect — Issue #89: android error
Author: rlarge
Created: 2012-01-30 22:32:25+00:00
State: open

private void createCrossImage() {
mCrossImage = new ImageView(getContext());
// Dismiss the dialog when user click on the 'x'
mCrossImage.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
mListener.onCancel();
FbDialog.this.dismiss();
}
});
---> Drawable crossDrawable = getContext().getResources().getDrawable(R.drawable.close);
mCrossImage.setImageDrawable(crossDrawable);
/* 'x' should not be visible while webview is loading
* make it visible only after webview has fully loaded
*/
mCrossImage.setVisibility(View.INVISIBLE);
}

Line 10 i get this error... don't know if its a bug but i haven't been able to figure it out any ideas

- R cannot be resolved to a variable
- Line breakpoint:FbDialog [line: 107] -
createCrossImage()
- close cannot be resolved or is not a field