andremion / music-cover-view Goto Github PK
View Code? Open in Web Editor NEWSubclass of ImageView that 'morphs' into a circle shape and can rotates. Useful to be used as album cover in Music apps. :dvd::notes:
License: Apache License 2.0
Subclass of ImageView that 'morphs' into a circle shape and can rotates. Useful to be used as album cover in Music apps. :dvd::notes:
License: Apache License 2.0
hello, I am wondering when the method 'morph()' in MusicCoverView.class at line 323 is called?
This is only working in one activity. I want transition from one activity to another activity. Could you tell me that how to make it from one activity to another activity.
Hi.
I am trying to load an small image into, but scaling does not affect anything.
<com.andremion.music.MusicCoverView
android:id="@+id/cover"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:scaleType="centerCrop"
android:src="@drawable/ic_launcher"
android:transitionName="@string/transition_name_cover"
app:layout_heightPercent="35%"
app:shape="circle"/>
RT, if I want to use less than api 21,how should I do ?
Is it necessary for the minimum version of the SDK to be 21?
Can it be placed at 15? Does it cause any incompatibility?
Sorry an idiot question, but I wondered the variable mRectPath that you declare might not related to your View? Because I was looking for where you used it, and i didn't get it. In onDraw(), you only used mClipPath variable. Hope to see you response!
Love ya!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.