android:这个滑动条叫什么以及如何实现它?

android: what#39;s this slider bar called and how to implement it?(android:这个滑动条叫什么以及如何实现它?)

本文介绍了android:这个滑动条叫什么以及如何实现它?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这可能是一个愚蠢的问题,但谁能告诉我这个滑块(以黄色突出显示)在 Android 中调用了什么?是导航栏吗?

This may be a dumb question but could anyone please tell me what this slider (highlighted in yellow) called in Android? Is it a navigation bar?

我想在我的应用中实现相同的滑块,如果有任何可以参考的示例,谁能告诉我?

I want to implement the same slider in my app, could anyone please let me know if there's any sample I can refer to?

谢谢.

推荐答案

至于你高亮的部分,并没有什么特别的名字,只是一些带有选择器背景的视图.

As for the part you highlighted, it doesn't have any particular name, it's just some view with selector background.

至于机制本身(拉视图显示另一个),它是 SlidingDrawer.请注意,它在 API 17 中已被弃用,可能不再鼓励这种 UI 模式.

As for the mechanism itself (pulling view to reveal another), it is SlidingDrawer. Note that it has been deprecated in API 17, probably this UI pattern is not encouraged anymore.

这篇关于android:这个滑动条叫什么以及如何实现它?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本文标题为:android:这个滑动条叫什么以及如何实现它?

基础教程推荐