mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2024-11-22 16:23:50 +00:00
upfix
This commit is contained in:
parent
597e14bc7e
commit
0b16d5c826
@ -1,6 +1,8 @@
|
||||
package dev.inmo.micro_utils.android.alerts.common
|
||||
|
||||
import android.content.Context
|
||||
import android.graphics.Color
|
||||
import android.graphics.drawable.ColorDrawable
|
||||
import android.view.LayoutInflater
|
||||
import android.widget.TextView
|
||||
import androidx.annotation.StringRes
|
||||
@ -19,6 +21,10 @@ fun Context.createProgressBarAlertDialog(
|
||||
findViewById<TextView>(R.id.alertDialogProgressBarTitle).text = it
|
||||
}
|
||||
}
|
||||
}.apply {
|
||||
window ?.apply {
|
||||
setBackgroundDrawable(ColorDrawable(Color.TRANSPARENT))
|
||||
}
|
||||
}
|
||||
|
||||
fun Context.createProgressBarAlertDialog(
|
||||
|
Loading…
Reference in New Issue
Block a user