Android Wear DotsPageIndicator先衰时间,而不是总是可见的 [英] Android Wear DotsPageIndicator fades first time instead of always visible

查看:329
本文介绍了Android Wear DotsPageIndicator先衰时间,而不是总是可见的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

DotsPageIndicator总是淡出首次所示。我试图 setDotFadeWhenIdle(假); 但随后淡出,永不回来。我只是希望它显示所有的时间,从来没有淡出。

DotsPageIndicator always fades out the first time it is shown. I tried setDotFadeWhenIdle(false); but then it fades out and never comes back. I just want it to be shown all the time and never fade out.

我看到了这个问题:<一href=\"http://stackoverflow.com/questions/28141808/android-wear-dotspageindicator-only-fades-when-first-created\">Android第一次创建时,戴上DotsPageIndicator只有变淡
但是这从来没有得到回答。

I saw this question: Android Wear DotsPageIndicator only fades when first created but this never got answered.

我希望有人能帮助我解决这个问题。

I hope somebody can help me with this problem.

推荐答案

我在试图找出什么地方错了多种不同的组合花了好几天。我认为这是一个错误。

I spent days on trying to figure out what's wrong with many different combinations. I think it's a bug.

我的解决方案,直到他们解决这个问题。

My solution until they fix it.

 app:dotFadeOutDelay="100000"

这篇关于Android Wear DotsPageIndicator先衰时间,而不是总是可见的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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