五星等級

https://github.com/hedge-hog/RatingBar------星級等級android

 

命名空間   git

xmlns:hedgehog="http://schemas.android.com/apk/res-auto"

<com.hedgehog.ratingbar.RatingBargithub

android:id="@+id/ratingbar"xml

android:layout_width="wrap_content"ip

android:layout_height="wrap_content"get

android:layout_centerInParent="true"it

android:layout_gravity="center"cli

android:layout_marginTop="50dp"命名空間

hedgehog:clickable="true"map

hedgehog:halfstart="true"

hedgehog:starCount="5"

hedgehog:starEmpty="@mipmap/star_empty"

hedgehog:starFill="@mipmap/star_full"

hedgehog:starHalf="@mipmap/star_half"

hedgehog:starImageHeight="90dp"

hedgehog:starImageWidth="70dp"

hedgehog:starImagePadding="20dp"/>

相關文章
相關標籤/搜索