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