You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have tried the below to customize the minicontroller:
In player_activity.xml
a. Replaced class="com.google.android.gms.cast.framework.media.widget.MiniControllerFragment"
with custom class class="com.google.sample.cast.refplayer.expandedcontrols.MiniController"
Added a java class MiniController which extends MiniControllerFragment
a. Created custom layout for mini controller : cast_mini_controller_custom
b. Used bind view methods to bind view to use
Attached is the github sample code with that change. CastVideos-android-master.zip
Please let me know if anything we are missing.
The text was updated successfully, but these errors were encountered:
souravbasu14
changed the title
Custom mini controller is not getting disappeared randomly.Jan 22, 2021
Hi,
We are trying to customize mini controller and seeing a random behavior. Minicontroller is getting hidden and giving a flicker.
Attached is a captured video of for the same.
https://user-images.githubusercontent.com/10879439/105458333-5bd9d700-5cae-11eb-91a5-0f503e5a279a.mp4
We have tried the below to customize the minicontroller:
a. Replaced class="com.google.android.gms.cast.framework.media.widget.MiniControllerFragment"
with custom class class="com.google.sample.cast.refplayer.expandedcontrols.MiniController"
a. Created custom layout for mini controller : cast_mini_controller_custom
b. Used bind view methods to bind view to use
Attached is the github sample code with that change.
CastVideos-android-master.zip
Please let me know if anything we are missing.
The text was updated successfully, but these errors were encountered: