Open coolegos opened 7 years ago
Hi, not sure if I can change the library so that it doesn't use the internalBitmap
(although perhaps there is a way that I don't know). What numbers are you seeing as height ?
h 16777168.
my phone is 720X1920, it may be different in other phone.
Well, that's big. I'll start thinking on how to solve it, but It might take me a while. If you find a workaround or fix please let me know.
Btw, have you tried using wrap_content
for the height of the ratingbar ?
i try wrap_content
now, it will not invoke onSizeChange, so it will not oom. maybe something wrong with my layout.
thank your great library.i use it in my app.i have a demo.
my app xml must be RelativeLayout, so my demo use RelativeLayout.When I click button the test_view will become MATCH_PARENT. SimpleRatingBar's onSizeChange height return a big number. it will oom when
Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888);
i can't use LinearLayout/FrameLayout. so i do something in onSizeChange.Can you give me some advice?