CircleMenu | Delicate , chic and supports customizable circle menu

 by   Hitomis Java Version: v1.1.0 License: No License

kandi X-RAY | CircleMenu Summary

kandi X-RAY | CircleMenu Summary

CircleMenu is a Java library. CircleMenu has no bugs, it has no vulnerabilities, it has build file available and it has medium support. You can download it from GitHub.

CircleMenu 是一个精美别致支持定制的圆形菜单,可以有 0 到 8 个子菜单按钮,按钮背景色,图标都可以修改。CircleMenu 比较适合放在屏幕中间,以得到完好的展现。. CircleMenu 是在 dribbble 上看到的一个比较有感觉的设计,并不炫酷,但是 UI 很精致,值得推敲的细节比较多。因为没有比较标准的原型图。在还原设计的时候,来来回回修改好多次。到最后也不知道跟原设计有多少差距。不过自己看着还算满意。. 该库在实现的时候碰到了许多困难。比如选中子菜单项绘制圆环轨迹路径的时候,使用 PathMeasure 发现 getSegment 方法并不是可以截取任何两个位置之间的 Path(因为要从选中的子菜单按钮的位置开始绘制圆环轨迹路径),思考良久后,使用旋转画布的方法巧妙解决。. 又例如,在圆环绘制完成后,圆环会逐渐放大扩散变透明,然后消失的动画。如果这个动画针对的是一个 View 对象,我想使用 ObjectAnimator 可以很快解决。但是现在是在 onDraw 中绘制这一动画效果。最困难的是绘制圆环扩散变透明直至消失这一动画效果。(ps:期间还问过我 QQ 中所有技术群。都说很简单,就是没人说具体,群中绝大部分都是各种灌水,到最后也得不到答案。那时候的感觉很糟糕,感觉再也不相信技术群了,伤心···)最后实现很简单,也是无意中发现 ColorUtils 这个类, ColorUtils 是 Support.v4 中提供的,封装了对 Color 的各种操作。我使用了 ColorUtils.setAlphaComponent(color, alpha) 来操作圆环的颜色的透明度,从而达到一个圆环逐渐消失的效果。. 最后谢谢 Aige 和 GcsSloop 两位大神无私奉献。让我能深入学习自定义 View 范畴的知识。让我有能力去完成这个项目。.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              CircleMenu has a medium active ecosystem.
              It has 942 star(s) with 150 fork(s). There are 25 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 17 open issues and 13 have been closed. On average issues are closed in 24 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of CircleMenu is v1.1.0

            kandi-Quality Quality

              CircleMenu has 0 bugs and 0 code smells.

            kandi-Security Security

              CircleMenu has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              CircleMenu code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              CircleMenu does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              CircleMenu releases are available to install and integrate.
              Build file is available. You can build the component from source.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed CircleMenu and discovered the below as its top functions. This is intended to give you an instant insight into CircleMenu implemented functionality, and help decide if they suit your requirements.
            • Handle a touch event
            • Start close animator
            • Helper method to check if a rectangle is found
            • Start menu animator
            • This method is called when the main menu is drawn
            • Draw main menu
            • Draw the main menu icon
            • Draw the sub menu
            • Initialize the main menu
            • Initialize tool
            • Initializes the menu
            • Set main menu color
            • Reset the path
            • Method used to set measured dimensions
            • Add a sub menu
            Get all kandi verified functions for this library.

            CircleMenu Key Features

            No Key Features are available at this moment for CircleMenu.

            CircleMenu Examples and Code Snippets

            No Code Snippets are available at this moment for CircleMenu.

            Community Discussions

            QUESTION

            lateinit property remindersViewModel has not been initialized
            Asked 2020-Sep-23 at 13:47

            I am displaying two fragments in the activity with recyclerViews. I am trying to add a new item to the recycler view but I am getting : "lateinit property remindersViewModel has not been initialized" error. I am already trying to initialise it in the fragments.

            My Fragment 1:

            ...

            ANSWER

            Answered 2020-Sep-23 at 13:33

            Each remindersViewModel variable you have is completely separate, and by marking them as lateinit you're promising to set a value on them before you try to read them. You're doing that in the fragments, but you're not initialising the one in MainActivity before you call insert on it

            Source https://stackoverflow.com/questions/64028929

            QUESTION

            How to call the listener from this library
            Asked 2020-Sep-11 at 21:01

            How to call the listener from this library on java project.

            https://github.com/ImangazalievM/CircleMenu

            I've tried :

            ...

            ANSWER

            Answered 2020-Sep-11 at 20:38

            On the link you provided it is written:

            Handling menu items clicks:

            val circleMenu = findViewById(R.id.circleMenu); circleMenu.setOnItemClickListener { menuButton -> }

            You can do this to check if it works:

            Source https://stackoverflow.com/questions/63853040

            QUESTION

            Centering inner text, and text inside my circles
            Asked 2020-Jul-23 at 01:16

            Edit: I have managed to centered the text for outer circles using, but still having trouble with the main text primary industry...

            ...

            ANSWER

            Answered 2020-Jul-22 at 22:38

            Simply use flex properties for your circles to align them with ease. Example:

            Source https://stackoverflow.com/questions/63044040

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install CircleMenu

            You can download it from GitHub.
            You can use CircleMenu like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the CircleMenu component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/Hitomis/CircleMenu.git

          • CLI

            gh repo clone Hitomis/CircleMenu

          • sshUrl

            git@github.com:Hitomis/CircleMenu.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular Java Libraries

            CS-Notes

            by CyC2018

            JavaGuide

            by Snailclimb

            LeetCodeAnimation

            by MisterBooo

            spring-boot

            by spring-projects

            Try Top Libraries by Hitomis

            transferee

            by HitomisJava

            FunGameRefresh

            by HitomisJava

            ActivitySwitcher

            by HitomisJava

            SpinMenu

            by HitomisJava

            CrazyShadow

            by HitomisJava