I want to change the dialog box for selecting multiple alerts. For my program, I want two elements to select multiple lines. I searched in the source code and found the following code snippet. Now I can not find where the source code for the following layouts is.
public AlertController(Context context, DialogInterface di, Window window) { mContext = context; mDialogInterface = di; mWindow = window; mHandler = new ButtonHandler(di); TypedArray a = context.obtainStyledAttributes(null, com.android.internal.R.styleable.AlertDialog, com.android.internal.R.attr.alertDialogStyle, 0); mAlertDialogLayout = a.getResourceId(com.android.internal.R.styleable.AlertDialog_layout, com.android.internal.R.layout.alert_dialog); mListLayout = a.getResourceId( com.android.internal.R.styleable.AlertDialog_listLayout, com.android.internal.R.layout.select_dialog); mMultiChoiceItemLayout = a.getResourceId( com.android.internal.R.styleable.AlertDialog_multiChoiceItemLayout, com.android.internal.R.layout.select_dialog_multichoice); mSingleChoiceItemLayout = a.getResourceId( **com.android.internal.R.styleable.AlertDialog_singleChoiceItemLayout**, com.android.internal.R.layout.select_dialog_singlechoice); mListItemLayout = a.getResourceId( com.android.internal.R.styleable.AlertDialog_listItemLayout, com.android.internal.R.layout.select_dialog_item); a.recycle(); }
android
Paramananda
source share