`
Minimal sample app repro: Please consider attaching a minimal sample app that reproduces the issue. This will help narrow down the conditions required for reproducing the issue, and it will speed up the bug-fix process. You may attach a zip file of the sample app or a link to a GitHub repo that contains the sample app.
Android API version: Android API version here
Material Library version: Material Android Library version you are using here (e.g., 1.8.0)
Device: Device on which the bug was encountered on Pixel devices and Samsung m33
To help us triage faster, please check to make sure you are using the latest version of the library.
Description: Full description of issue here
Expected behavior: Screenshots and/or description of expected behavior
Source code: The code snippet which is causing this issue ` fun Context.showCustomAlertDialog( strTitle: String, strMsg: CharSequence, strPositive: String, onPositiveClick: () -> Unit ) { val builder = MaterialAlertDialogBuilder(this, R.style.MaterialAlertDialogRounded) builder.setTitle(setTypeface(setMediumTypeface(), strTitle)) builder.setMessage(setTypeface(setRegularTypeface(), strMsg)) builder.setPositiveButton( strPositive ) { , _ -> onPositiveClick() } val dialog = builder.create() dialog.show() dialog.setCanceledOnTouchOutside(false) dialog.setCancelable(false) val positiveBtn = dialog.getButton(AlertDialog.BUTTON_POSITIVE) positiveBtn.letterSpacing = -0.01F
}
` Minimal sample app repro: Please consider attaching a minimal sample app that reproduces the issue. This will help narrow down the conditions required for reproducing the issue, and it will speed up the bug-fix process. You may attach a zip file of the sample app or a link to a GitHub repo that contains the sample app.
Android API version: Android API version here
Material Library version: Material Android Library version you are using here (e.g., 1.8.0)
Device: Device on which the bug was encountered on Pixel devices and Samsung m33
To help us triage faster, please check to make sure you are using the latest version of the library.
We also happily accept pull requests.