{"id":13848173,"url":"https://github.com/andremion/Music-Cover-View","last_synced_at":"2025-07-12T11:33:44.381Z","repository":{"id":50255546,"uuid":"66404470","full_name":"andremion/Music-Cover-View","owner":"andremion","description":"Subclass of ImageView that 'morphs' into a circle shape and can rotates. Useful to be used as album cover in Music apps. :dvd::notes:","archived":false,"fork":false,"pushed_at":"2019-05-20T18:18:44.000Z","size":1674,"stargazers_count":260,"open_issues_count":1,"forks_count":59,"subscribers_count":15,"default_branch":"master","last_synced_at":"2024-11-21T16:13:18.102Z","etag":null,"topics":["album-cover","android","circle","circle-shape","cover","cover-view","imageview","morphs","music","music-cover","music-player","rotates","shape"],"latest_commit_sha":null,"homepage":"","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/andremion.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-08-23T21:24:44.000Z","updated_at":"2024-11-13T10:11:33.000Z","dependencies_parsed_at":"2022-09-15T09:00:23.359Z","dependency_job_id":null,"html_url":"https://github.com/andremion/Music-Cover-View","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andremion%2FMusic-Cover-View","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andremion%2FMusic-Cover-View/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andremion%2FMusic-Cover-View/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andremion%2FMusic-Cover-View/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andremion","download_url":"https://codeload.github.com/andremion/Music-Cover-View/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225820303,"owners_count":17529138,"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":["album-cover","android","circle","circle-shape","cover","cover-view","imageview","morphs","music","music-cover","music-player","rotates","shape"],"created_at":"2024-08-04T19:00:44.372Z","updated_at":"2024-11-21T23:31:03.689Z","avatar_url":"https://github.com/andremion.png","language":"Java","funding_links":[],"categories":["Java"],"sub_categories":[],"readme":"[![License Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg?style=true)](http://www.apache.org/licenses/LICENSE-2.0)\n![minSdkVersion 21](https://img.shields.io/badge/minSdkVersion-21-red.svg?style=true)\n![compileSdkVersion 24](https://img.shields.io/badge/compileSdkVersion-24-yellow.svg?style=true)\n[![maven-central](https://img.shields.io/maven-central/v/com.github.andremion/musiccoverview.svg)](https://search.maven.org/#artifactdetails%7Ccom.github.andremion%7Cmusiccoverview%7C1.0.0%7Caar)\n\n[![Android Arsenal Music-Cover-View](https://img.shields.io/badge/Android%20Arsenal-Music--Cover--View-green.svg?style=true)](https://android-arsenal.com/details/1/4218)\n[![MaterialUp Music-Cover-View](https://img.shields.io/badge/MaterialUp-Music--Cover--View-blue.svg?style=true)](https://www.uplabs.com/posts/music-cover-view)\n\n# Music Cover View\n\nA Subclass of [ImageView](https://developer.android.com/reference/android/widget/ImageView.html) that 'morphs' into a circle shape and can rotates. Useful to be used as album cover in Music apps.\n\n![Sample](https://raw.githubusercontent.com/andremion/Music-Cover-View/master/art/sample.gif)\n\nIt's used by this [Music Player](https://github.com/andremion/Music-Player) prototype.\n\n![Music Player](https://raw.githubusercontent.com/andremion/Music-Player/master/art/music_player_code.gif)\n\n## Installation\n\nInclude the library in your `build.gradle`\n\n```groovy\ndependencies{\n    compile 'com.github.andremion:musiccoverview:1.0.0'\n}\n```\n\nor in your `pom.xml` if you are using Maven\n\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.github.andremion\u003c/groupId\u003e\n  \u003cartifactId\u003emusiccoverview\u003c/artifactId\u003e\n  \u003cversion\u003e1.0.0\u003c/version\u003e\n  \u003ctype\u003eaar\u003c/type\u003e\n\u003c/dependency\u003e\n```\n\n## Usage\n\n```xml\n\u003ccom.andremion.music.MusicCoverView\n        android:id=\"@+id/cover\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"@dimen/cover_height\"\n        android:src=\"@drawable/album_cover\"/\u003e\n```\n\n###Custom attributes\n\n- The shape of the View\n```xml\n\u003cattr name=\"shape\" format=\"enum\"\u003e\n    \u003cenum name=\"rectangle\" value=\"0\"/\u003e\n    \u003cenum name=\"circle\" value=\"1\"/\u003e\n\u003c/attr\u003e\n```\n    \n- The color of the tracks when the shape is circle\n```xml\n\u003cattr name=\"trackColor\" format=\"color\"/\u003e\n```\n\nSee more at the [sample](https://github.com/andremion/Music-Cover-View/tree/master/sample)\n\n## License\n\n    Copyright 2016 André Mion\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n        http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandremion%2FMusic-Cover-View","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandremion%2FMusic-Cover-View","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandremion%2FMusic-Cover-View/lists"}