GithubHelp home page GithubHelp logo

Comments (3)

wilsonvargas avatar wilsonvargas commented on June 6, 2024

Hi @NGame1 this is a problem only in Android 6.0 but it is solved by adding the BorderRadius property and assigning it the same value as the height of the button. something like this:

<local:CircleButton Icon="ic_directions_bike" 
                            FontSize="30" TextColor="Black"
                            HeightRequest="70" WidthRequest="70" 
                            BorderRadius="70" BackgroundColor="#DCDCDC"/>
        <!--This button is not exactly circular-->
        <local:CircleButton FontSize="30" TextColor="Black" 
                            HeightRequest="70" WidthRequest="200" 
                            BorderRadius="20" BackgroundColor="#DCDCDC"/>

photo

This property allows you to create buttons that are not exactly circular, as seen in the image.

I hope this helps you, your answer will help me close this issue 😄

from buttoncircleplugin.

NGame1 avatar NGame1 commented on June 6, 2024

Thanks , It solved .

from buttoncircleplugin.

pirou avatar pirou commented on June 6, 2024

Hi, i had round buttons with samsung galaxy S7 with android 8 but square ones with Huawei P20 on Android 9.
THe border radius trick seems to solve the problem !

from buttoncircleplugin.

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.