由网友(待我强大我将扫遍所有零食)分享简介:我如何可以创建一个动作条冠军滚动,其中点击一个特定的标题项移动到相应的页面?How can I create an Actionbar title with scrolling where clicking on a particular title item moves to the corresponding p...
我如何可以创建一个动作条冠军滚动,其中点击一个特定的标题项移动到相应的页面?
How can I create an Actionbar title with scrolling where clicking on a particular title item moves to the corresponding page?
您可以看到谷歌云端硬盘应用此功能的安卓手机:
You can see this functionality in Google Drive app in android mobile phones:
推荐答案
您可以用一个TextView为具有标题创建自定义动作条
You could create a custom actionBar with a textView for the title that has:
android:scrollHorizontally="true"
这应该得到预期的效果。
That should get the desired effect.
相关推荐
最新文章