Git Product home page Git Product logo

Comments (7)

sujithkanna avatar sujithkanna commented on August 12, 2024 1

Can you attach the screenshot, So that I can clearly see the problem. Thank you :)

from smileyrating.

sujithkanna avatar sujithkanna commented on August 12, 2024 1

Really sorry for this, can you tell me the device model and if possible can you share the xml layout you created?

from smileyrating.

muigukenneth avatar muigukenneth commented on August 12, 2024

screenshot_2017-04-18-18-22-20
screenshot_2017-04-18-18-22-06
You can check out the first one(great) then the second (good) is okay :)

from smileyrating.

muigukenneth avatar muigukenneth commented on August 12, 2024

Here is the model and the xml file.Thanks :

Android build version: G900HXXS1CPJ9
Android release version: 6.0.1
Android SDK version: 23
Android build ID: MMB29K.G900HXXS1CPJ9
Device brand: samsung
Device manufacturer: samsung
Device name: k3g
fragment_about.txt

from smileyrating.

DemidovIlya avatar DemidovIlya commented on August 12, 2024

I have the same problem

from smileyrating.

sujithkanna avatar sujithkanna commented on August 12, 2024

Really sorry for the delay, came back after a long vacation. I couldn't find the problem. You are saying it is only happening on setting GREAT. Let's try one thing, try to set some size for the rating bar. Just set the width of the ratingbar. Height will be automatically taken care of. Let me know the output.

from smileyrating.

DemidovIlya avatar DemidovIlya commented on August 12, 2024

Yep, this helped me make it work correct. The problem appears when view width equals to display width. At first I just set width in layout file and this solve problem, so I tried to change width programmaticaly and when I set view width equals to display width it stop working again. For normal work, view width just should't equals to display width.

Point size=new Point();
Display display=getWindowManager().getDefaultDisplay();
display.getSize(size);
mSmileRating.setLayoutParams(new LinearLayout.LayoutParams(size.x-1, ViewGroup.LayoutParams.WRAP_CONTENT));

Thanks a lot.

from smileyrating.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.