Skip to content

Commit 9656354

Browse files
committed
change progressbar background color
1 parent 9815cbe commit 9656354

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scdisplayutils/src/main/java/com/stevechulsdev/scdisplayutils/ScDisplayUtils.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ object ScDisplayUtils {
4949
else {
5050
mProgressBar = ProgressBar(activity.applicationContext, null, android.R.attr.progressBarStyle).apply {
5151
isIndeterminate = true
52+
setBackgroundColor(ContextCompat.getColor(activity, android.R.color.transparent))
5253
visibility = View.VISIBLE
5354

5455
try {

0 commit comments

Comments
 (0)