Music Cover View

A useful View to be used as album cover in Music apps.

Лицензия

Лицензия

Группа

Группа

com.github.andremion
Идентификатор

Идентификатор

musiccoverview
Последняя версия

Последняя версия

1.0.0
Дата

Дата

Тип

Тип

aar
Описание

Описание

Music Cover View
A useful View to be used as album cover in Music apps.
Ссылка на сайт

Ссылка на сайт

https://github.com/andremion/Music-Cover-View
Система контроля версий

Система контроля версий

https://github.com/andremion/Music-Cover-View

Скачать musiccoverview

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.github.andremion/musiccoverview/ -->
<dependency>
    <groupId>com.github.andremion</groupId>
    <artifactId>musiccoverview</artifactId>
    <version>1.0.0</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/com.github.andremion/musiccoverview/
implementation 'com.github.andremion:musiccoverview:1.0.0'
// https://jarcasting.com/artifacts/com.github.andremion/musiccoverview/
implementation ("com.github.andremion:musiccoverview:1.0.0")
'com.github.andremion:musiccoverview:aar:1.0.0'
<dependency org="com.github.andremion" name="musiccoverview" rev="1.0.0">
  <artifact name="musiccoverview" type="aar" />
</dependency>
@Grapes(
@Grab(group='com.github.andremion', module='musiccoverview', version='1.0.0')
)
libraryDependencies += "com.github.andremion" % "musiccoverview" % "1.0.0"
[com.github.andremion/musiccoverview "1.0.0"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
com.android.support » support-core-ui jar 24.2.0

Модули Проекта

Данный проект не имеет модулей.

License Apache 2.0 minSdkVersion 21 compileSdkVersion 24 maven-central

Android Arsenal Music-Cover-View MaterialUp Music-Cover-View

Music Cover View

A Subclass of ImageView that 'morphs' into a circle shape and can rotates. Useful to be used as album cover in Music apps.

Sample

It's used by this Music Player prototype.

Music Player

Installation

Include the library in your build.gradle

dependencies{
    compile 'com.github.andremion:musiccoverview:1.0.0'
}

or in your pom.xml if you are using Maven

<dependency>
  <groupId>com.github.andremion</groupId>
  <artifactId>musiccoverview</artifactId>
  <version>1.0.0</version>
  <type>aar</type>
</dependency>

Usage

<com.andremion.music.MusicCoverView
        android:id="@+id/cover"
        android:layout_width="match_parent"
        android:layout_height="@dimen/cover_height"
        android:src="@drawable/album_cover"/>

###Custom attributes

  • The shape of the View
<attr name="shape" format="enum">
    <enum name="rectangle" value="0"/>
    <enum name="circle" value="1"/>
</attr>
  • The color of the tracks when the shape is circle
<attr name="trackColor" format="color"/>

See more at the sample

License

Copyright 2016 André Mion

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Версии библиотеки

Версия
1.0.0