Android Wear DotsPageIndicator fades first time instead of always visible

一曲冷凌霜 提交于 2019-12-13 01:26:09

问题


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.

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.


回答1:


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"


来源:https://stackoverflow.com/questions/30097736/android-wear-dotspageindicator-fades-first-time-instead-of-always-visible

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!