Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

android: buffer indicator #93

Open
hirbod opened this issue Sep 22, 2022 · 3 comments
Open

android: buffer indicator #93

hirbod opened this issue Sep 22, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@hirbod
Copy link
Contributor

hirbod commented Sep 22, 2022

Describe the bug
Android shows a buffer indicator which does not fit to our UI. We would like to be able to disable the ActivityIndicator and provide our own

To reproduce
Let a video buffer on android

Expected behavior
Prop to disable the shipped indicator, since we're listening to the States/Events ourselves.

Screenshots
If applicable, add screenshots to help explain your problem.

Device (please complete the following information):

  • Simulator or Real Device: both
  • Device: Android
  • OS: 10 and 13
@hirbod hirbod added the bug Something isn't working label Sep 22, 2022
@alexmdodge
Copy link
Contributor

@hirbod Thanks for reporting! This is an internal progress bar which is shipped with the SDK itself. We'll ticket and get this prioritized in a future sprint to allow for configuration.

In the meantime, you can overwrite this behavior today using the XML layout and color settings. This is demonstrated in the current Example app, and was added here: 5e87fa0

To do the inverse (which I believe is your desired state) you should be able to set the tint color to an alpha channel and make it transparent:
https://developer.android.com/reference/android/widget/ProgressBar#attr_android:indeterminateTint

@hirbod
Copy link
Contributor Author

hirbod commented Sep 23, 2022

Thanks for the hint @alexmdodge - thats a feasible workaround for now :)

@hamdij0maa
Copy link

hamdij0maa commented Feb 13, 2023

@hirbod any idea about how to change the black background while buffering ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants