我在哪里可以找到com.android.internal.R.styleable.AlertDialog_multiChoiceItemLayout的来源?

Par*_*nda 7 android

我想修改Alert对话框多选布局.对于我的程序,我想要两行多选项.我在源代码中搜索并找到以下代码片段.现在我无法找到以下布局的源代码.

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();
}
Run Code Online (Sandbox Code Playgroud)

Saq*_*zaq 7

该文件名为"select_dialog_multichoice",位于布局文件夹中.我机器上的绝对路径如下所示:

C:\ Users \用户d053380 \应用程序数据\本地\的Android\Android的SDK \平台\机器人-14 \数据\ RES \布局