docs: fix doc error in dialog example snippet (no not merge)

bug: 2160782
This commit is contained in:
Scott Main
2009-10-16 14:08:37 -07:00
committed by Xavier Ducrohet
parent 30a6657ec6
commit f3bc5349b2

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));