Searched refs:positiveBtn (Results 1 – 4 of 4) sorted by relevance
245 Button positiveBtn = mCustomBody.findViewById(R.id.positive_btn); in setCustomPositiveButton() local246 positiveBtn.setText(labelRes); in setCustomPositiveButton()247 positiveBtn.setOnClickListener(listener); in setCustomPositiveButton()248 positiveBtn.setVisibility(View.VISIBLE); in setCustomPositiveButton()262 Button positiveBtn = mCustomBody.findViewById(R.id.positive_btn); in setCustomPositiveButton() local263 positiveBtn.setText(label); in setCustomPositiveButton()264 positiveBtn.setOnClickListener(listener); in setCustomPositiveButton()265 positiveBtn.setVisibility(View.VISIBLE); in setCustomPositiveButton()
190 Button positiveBtn = dialog.getButton(AlertDialog.BUTTON_POSITIVE); in onCreateDialog() local191 positiveBtn.setOnClickListener(v -> { in onCreateDialog()198 positiveBtn.setEnabled(false); in onCreateDialog()306 Button positiveBtn = alertDialog.getButton(AlertDialog.BUTTON_POSITIVE); in updateConnectButton() local307 if (positiveBtn != null) { in updateConnectButton()308 positiveBtn.setEnabled(enabled); in updateConnectButton()
154 final Button positiveBtn = dialog.getButton(AlertDialog.BUTTON_POSITIVE); in onCreateDialog() local155 positiveBtn.setOnClickListener(v -> { in onCreateDialog()161 positiveBtn.setEnabled(false); in onCreateDialog()276 final Button positiveBtn = alertDialog.getButton(AlertDialog.BUTTON_POSITIVE); in updateConnectButton() local277 if (positiveBtn != null) { in updateConnectButton()278 positiveBtn.setEnabled(enabled); in updateConnectButton()
522 Button positiveBtn = alertDialog.getButton(AlertDialog.BUTTON_POSITIVE); in updateBtnState() local523 if (positiveBtn != null) { in updateBtnState()524 positiveBtn.setEnabled(isEnable ? true : false); in updateBtnState()