Merge commit 'a486f554aa494dfeea4d63fde0d533ea9e1cfe2f' into eclair-mr2-plus-aosp * commit 'a486f554aa494dfeea4d63fde0d533ea9e1cfe2f': docs: fix doc error in dialog example snippet
This commit is contained in:
@@ -624,7 +624,7 @@ AlertDialog.Builder builder;
|
||||
AlertDialog alertDialog;
|
||||
|
||||
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,
|
||||
(ViewGroup) findViewById(R.id.layout_root));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user