{"id":21130138,"url":"https://github.com/linroid/FilterMenu","last_synced_at":"2025-07-09T01:32:29.786Z","repository":{"id":28558628,"uuid":"32076114","full_name":"linroid/FilterMenu","owner":"linroid","description":"(UNMAINTAINED) An implemention of  Filter Menu concept for android","archived":true,"fork":false,"pushed_at":"2017-04-13T03:36:12.000Z","size":3110,"stargazers_count":816,"open_issues_count":6,"forks_count":141,"subscribers_count":23,"default_branch":"master","last_synced_at":"2024-11-04T18:54:22.327Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://dribbble.com/shots/1956586-Filter-Menu","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/linroid.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-12T12:37:22.000Z","updated_at":"2024-06-10T15:26:10.000Z","dependencies_parsed_at":"2022-09-03T09:10:40.785Z","dependency_job_id":null,"html_url":"https://github.com/linroid/FilterMenu","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linroid%2FFilterMenu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linroid%2FFilterMenu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linroid%2FFilterMenu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linroid%2FFilterMenu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/linroid","download_url":"https://codeload.github.com/linroid/FilterMenu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225476373,"owners_count":17480215,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-20T05:32:18.995Z","updated_at":"2024-11-20T05:32:26.689Z","avatar_url":"https://github.com/linroid.png","language":"Java","readme":"# FilterMenu\n\n[![Maven Central](https://img.shields.io/maven-central/v/com.linroid.filtermenu/library.svg)](http://search.maven.org/#search%7Cga%7C1%7Ccom.linroid.filtermenu)\n\nThis is a library project with a custom view that implements  concept of  Filter Menu(https://dribbble.com/shots/1956586-Filter-Menu) made by  Anton Aheichanka for android\n\n## Quick Overview\n - Download sample [Apk](https://github.com/linroid/FilterMenu/blob/master/sample/sample-release.apk?raw=true)\n \n - Screenshots\n \n    \u003cimg src=\"screenshots/device-2015-03-12-215100.png\" alt=\"screenshot\" title=\"screenshot\" height=\"500\" /\u003e\n - Youtube Video\n \n     [![Youtube Video](http://img.youtube.com/vi/HClK9Ams6gM/0.jpg)](http://www.youtube.com/watch?v=HClK9Ams6gM)\n     \n## Futures\n - Detect edge automatically\n - Support for android menu resource\n \n## Getting Started\n - Download the source to use it as library project, or grab via Maven\n - \n ```xml\n \u003cdependency\u003e\n   \u003cgroupId\u003ecom.linroid.filtermenu\u003c/groupId\u003e\n   \u003cartifactId\u003elibrary\u003c/artifactId\u003e\n   \u003cversion\u003e{last-version}\u003c/version\u003e\n   \u003ctype\u003eaar\u003c/type\u003e\n \u003c/dependency\u003e\n ```\n or Gradle\n \n ```\n compile 'com.linroid.filtermenu:library:0.2.+@aar'\n ```\n - Declare FilterMenuLayout inside your layout\n \n    ```xml\n    \u003ccom.linroid.filtermenu.library.FilterMenuLayout\n        android:id=\"@+id/filter_menu\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\"\n        android:elevation=\"8dp\"\n        custom:fm_expandedRadius=\"96dp\"\n        custom:fm_collapsedRadius=\"24dp\"\n        custom:fm_centerBottom=\"50dp\"\n        custom:fm_centerRight=\"50dp\"\n        custom:fm_primaryColor=\"#ff37aa4a\"\n        custom:fm_primaryDarkColor=\"#ff20622b\"\u003e\n    \u003c/com.linroid.filtermenu.library.FilterMenuLayout\u003e\n    \n    \n    \u003c!--circle radius size when menu expanded--\u003e\n    custom:fm_expandedRadius\n    \u003c!--circle radius size when menu collapsed--\u003e\n    custom:fm_collapsedRadius\n    \u003c!--set the position of circle, the menu will auto align.\n        You should only set two directions at most.--\u003e\n    custom:fm_center[Left|Top|Right|Bottom]\n    \u003c!-- If true, centers the circle horizontally.--\u003e\n    custom:fm_centerHorizontal\n    \u003c!-- If true, centers the circle vertically.--\u003e\n    custom:fm_centerVertical\n    \u003c!--primary color--\u003e\n    custom:fm_primaryColor\n    \u003c!--color of inner circle when menu expanded--\u003e\n    custom:fm_primaryDarkColor\n    ```\n - Initial menu items via java code\n \n    ```java\n    FilterMenuLayout layout = (FilterMenuLayout) findViewById(R.id.filter_menu);\n    FilterMenu menu = new FilterMenu.Builder(this)\n        .addItem(R.drawable....)\n        //.inflate(R.menu....)//inflate  menu resource\n        .attach(layout)\n        .withListener(new FilterMenu.OnMenuChangeListener() {\n            @Override\n            public void onMenuItemClick(View view, int position) {\n            }\n            @Override\n            public void onMenuCollapse() {\n            }\n            @Override\n            public void onMenuExpand() {\n            }\n        })\n        .build();\n    ```\n    \n## ChangeLog\n - 0.2.0\n    - support for android menu resource\n    - support for centerHorizontal and centerVertical attribute\n\n## License\nCopyright 2015 linroid\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","funding_links":[],"categories":["Libs"],"sub_categories":["\u003cA NAME=\"Widget\"\u003e\u003c/A\u003eWidget"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinroid%2FFilterMenu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinroid%2FFilterMenu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinroid%2FFilterMenu/lists"}