机器人的MediaController的变化风格 [英] Change style of android MediaController

查看:188
本文介绍了机器人的MediaController的变化风格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有一种方法来定制的MediaController?我需要改变按钮的风格,搜索栏等。

Is there a way to customize the MediaController? I need to change the style of buttons, SeekBar etc.

推荐答案

makeControllerView 本来是被覆盖,所以你可以提供自己的观点的方法。不幸的是,它是隐藏的时​​刻。

The method makeControllerView was meant to be overridden so you could supply your own view. Unfortunately, it is hidden at the moment.

您可能需要采取的MediaController的来源,要么重新实现它,或者复制 - 粘贴隐藏的方法到子类,所以你可以自定义它。

You may want to take the source of MediaController and either reimplement it or copy-and-paste the hidden methods into a subclass so you can customize it.

这篇关于机器人的MediaController的变化风格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆