问题
I have added a DotsPageIndicator
to my GridPager which works fine.
The only problem i am facing is the fade of the dots. When first displaying my ui the dots are visible for a brief moment and than fade away. When i swipe to a different page the dots reappear and from thereon out they don't disappear anymore.
I have not touched the setDotFadeWhenIdle(boolean) property. Is there anything else i have to consider?
回答1:
I had the same problem and I solved it extending WearableActivity and enabling Ambient mode. See doc https://developer.android.com/training/wearables/apps/always-on.html#EnableAmbient
来源:https://stackoverflow.com/questions/28141808/android-wear-dotspageindicator-only-fades-when-first-created