状态栏中的Android搜索栏 [英] Android Seek Bar in Status Bar

查看:190
本文介绍了状态栏中的Android搜索栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个Android应用程序,我想在状态栏中添加音量控件.我可以在状态栏中添加搜索栏吗?

I'm developing an android application where i want to add the volume control in Status Bar. Can i add a seek bar inside the Status Bar.

我与NotificationManager一起工作,发现在通知栏中添加动画很困难.

I have worked with NotificationManager and i've found that adding animation is difficult in Notification bar.

但是任何人都可以建议我是否可以在状态栏(通知栏)中添加搜索栏.

But can anyone please suggest if i can add a seek bar in my Status Bar(Notification bar).

推荐答案

简短答案:否.

长答案:您不能将侦听器添加到NotificationBar上的小部件中.您不能尝试添加Intent来调用具有对话框主题的Activity并在其中具有搜索栏.

Long answer: You can't add listeners to the widgets placed on the NotificationBar. You can't try adding an Intent to call an Activity with dialog theme and have the seek bar there.

这篇关于状态栏中的Android搜索栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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