pakerfeldt/android-viewflow — Issue #60: CircleFlowIndicator not showing with certain width/heights
Author: fcavedon
Created: 2012-01-27 19:32:50+00:00
State: open

I'm having a very strange problem with the CircleFlowIndicator. I'm using ViewFlow to create a gallery of products, and using the CircleFlowIndicator to show how much products we have.

However, if I set the indicator height/width both to "wrap_contents", then the indicator is not shown in the view. If I set the width to some value, for instance, 10dp, then it shows. However, if there are 3 products, the indicator is not centered.

What is more bizarre is that if I inspect the layout using ADT's Hierarchy Viewer, when I click "Load all views" the indicator shows up and works like a charm!

Can you help me on this? My customer really wants the circle indicator, and I'm banging my head in a wall here...

Thx!