Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MaterialRatingBar is not showing on ListView Item placed in DrawerLayout NavigationView. #15

Open
Maqsood007 opened this issue Jul 22, 2017 · 9 comments
Assignees
Labels

Comments

@Maqsood007
Copy link

I have placed the xml Of MaterialDesignRatingBar in a expandible lisview item and it is not showing at all. its working on my other listviews with in Activities and fragments.

<me.zhanghai.android.materialratingbar.MaterialRatingBar
android:id="@+id/ratingBar"
style="@style/Widget.MaterialRatingBar.RatingBar"
android:layout_width="@dimen/_150sdp"
android:layout_height="@dimen/_25sdp"
android:layout_centerInParent="true"
android:rating="5"
android:layout_marginLeft="@dimen/_5sdp"
android:layout_marginStart="@dimen/_5sdp" />

I don't want to go for another custom library for rating bar because i have used it in my project.

@zhanghai
Copy link
Owner

If you replace it with framework RatingBar, does it work? If not, it is a usage issue of RatingBar instead of a library issue.

@zhanghai zhanghai self-assigned this Jul 22, 2017
@Maqsood007
Copy link
Author

Yes it works and rating stars are showing up with framework RatingBar.

@zhanghai
Copy link
Owner

Well it's likely a library issue then. Can you provide a minimal working example project?

@zhanghai zhanghai added the bug label Jul 22, 2017
@zhanghai zhanghai changed the title MaterialRatingBar is not shwoing on ListView Item placed in DrawerLayout NavigationView. MaterialRatingBar is not showing on ListView Item placed in DrawerLayout NavigationView. Oct 4, 2017
@Maqsood007
Copy link
Author

Any progress on this issue ?

@zhanghai
Copy link
Owner

Could you pleade provide a MWE for this?

@BigCowHere
Copy link

Yes ,the same as RecycleView item

@dcmouser
Copy link

I'm having a similar problem, MaterialRatingBar is not showing anything when in listview.

@Hynn01
Copy link

Hynn01 commented Jan 16, 2019

I have the same problem on using it on RecycleView...

@ss-southernsun-982
Copy link

I have the same problem when trying to put the MaretialRatingBar on Recyclerview, when i replaced it with the default RatingBar, it works perfectly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants