Merge change Ic37381fb into eclair

* changes:
  docs: fix doc error in dialog example snippet
This commit is contained in:
Android (Google) Code Review
2009-10-16 17:23:11 -04:00

View File

@@ -624,7 +624,7 @@ AlertDialog.Builder builder;
AlertDialog alertDialog; AlertDialog alertDialog;
Context mContext = getApplicationContext(); Context mContext = getApplicationContext();
LayoutInflater inflater = (LayoutInflater) mContext.getSystemService(LAYOUT_INFLATER); LayoutInflater inflater = (LayoutInflater) mContext.getSystemService(LAYOUT_INFLATER_SERVICE);
View layout = inflater.inflate(R.layout.custom_dialog, View layout = inflater.inflate(R.layout.custom_dialog,
(ViewGroup) findViewById(R.id.layout_root)); (ViewGroup) findViewById(R.id.layout_root));