如何扩展音量控制 [英] How to extend the volume control
本文介绍了如何扩展音量控制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想扩展音量控制".
用我的新行"扩展添加(也是一个音量滑块);
Expand with my new "line" to add (also a volume slider);
我该怎么做?
推荐答案
在 android.view 包中有一个名为 VolumnePanel 的类,它对 volume_adjust_item.xml 资源进行了扩充.您可以在/sources/android-/android/view 中找到 VolumePanel.java,在/platforms/android-/data/res/layout 中找到 volume_adjust_item.xml.
There is a class in the android.view package called VolumnePanel that inflates the volume_adjust_item.xml resource. You can find the VolumePanel.java in /sources/android-/android/view and the volume_adjust_item.xml in /platforms/android-/data/res/layout.
祝你好运.
这篇关于如何扩展音量控制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文