forked from organicmaps/organicmaps
[android] Made small rating bar step '0.01' to display float value correctly
This commit is contained in:
parent
279d62197f
commit
eb1c0a8112
3 changed files with 3 additions and 3 deletions
|
@ -23,6 +23,5 @@
|
|||
android:layout_height="24dp"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:numStars="5"
|
||||
android:stepSize="1"/>
|
||||
android:numStars="5"/>
|
||||
</RelativeLayout>
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
style="@style/MwmWidget.RatingBarSmall.Ugc"
|
||||
android:layout_marginTop="@dimen/margin_quarter"
|
||||
android:numStars="5"
|
||||
android:stepSize="1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
</LinearLayout>
|
||||
|
|
|
@ -258,11 +258,13 @@
|
|||
<style name="MwmWidget.RatingBar.Ugc">
|
||||
<item name="android:progressDrawable">@drawable/rating_bar_ugc</item>
|
||||
<item name="android:indeterminateDrawable">@drawable/rating_bar_ugc</item>
|
||||
<item name="android:stepSize">1</item>
|
||||
</style>
|
||||
|
||||
<style name="MwmWidget.RatingBarSmall.Ugc">
|
||||
<item name="android:progressDrawable">@drawable/rating_bar_small_ugc</item>
|
||||
<item name="android:indeterminateDrawable">@drawable/rating_bar_small_ugc</item>
|
||||
<item name="android:stepSize">0.01</item>
|
||||
</style>
|
||||
|
||||
<style name="MwmWidget.Counter">
|
||||
|
|
Loading…
Add table
Reference in a new issue