0

I read this question about disabling user interaction while ProgressBar is visible: How to disable user interaction while ProgressBar is visible in android?. But, isn't there a "cleaner" way to do it? Like in an xml attribute?

  • No, these's no way to disable all UI interaction while some element is visible. That's a point where you actually need to do some programming. – Gabe Sechan Aug 15 '18 at 20:23

1 Answers1

0

Set android:clickable="true" in your ProgressBar xml

Anisuzzaman Babla
  • 6,510
  • 7
  • 36
  • 53