AnderWeb / discreteSeekBar

Apache License 2.0
2.11k stars 400 forks source link

Bug: indicatorTextAppearance lost after orientation change #81

Open Scrounger opened 8 years ago

Scrounger commented 8 years ago

@AnderWeb :

After orientation change, the indicatorTextAppearance seems to be set to it's default value. I use the following layout:

<org.adw.library.widgets.discreteseekbar.DiscreteSeekBar android:id="@+id/discrete2" android:layout_width="match_parent" android:layout_height="wrap_content" app:dsb_allowTrackClickToDrag="false" app:dsb_indicatorColor="@color/colorPrimary" app:dsb_indicatorFormatter="\\o/ %d" app:dsb_indicatorTextAppearance="@style/CustomFloaterTextAppearance" app:dsb_progressColor="@color/colorPrimary" app:dsb_rippleColor="@color/colorPrimary" app:dsb_scrubberHeight="2dp" />

style.xml: `