Audiogram alternatives and similar packages
Based on the "Other Widget" category.
Alternatively, view Audiogram alternatives based on common mentions on social networks and blogs.
-
AndroidSlidingUpPanel
This library provides a simple way to add a draggable sliding up panel (popularized by Google Music and Google Maps) to your Android application. Brought to you by Umano. -
BottomBar
(Deprecated) A custom view component that mimics the new Material Design Bottom Navigation pattern. -
ShortcutBadger
An Android library supports badge notification like iOS in Samsung, LG, Sony and HTC launchers. -
SystemBarTint
[DEPRECATED] Apply background tinting to the Android system UI when using KitKat translucent modes -
TapTargetView
An implementation of tap targets from the Material Design guidelines for feature discovery. -
android-viewbadger
[DEPRECATED] A simple way to "badge" any given Android view at runtime without having to cater for it in layout -
android-stackblur
Android StackBlur is a library that can perform a blurry effect on a Bitmap based on a gradient or radius, and return the result. The library is based on the code of Mario Klingemann. -
android-iconify
Android integration of multiple icon providers such as FontAwesome, Entypo, Typicons,... -
DraggablePanel
DISCONTINUED. Android library used to create an awesome Android UI based on a draggable element similar to the last YouTube graphic component. -
aFileChooser
DISCONTINUED. [DEPRECATED] Android library that provides a file explorer to let users select files on external storage. -
Swipecards
A Tinder-like Android library to create the swipe cards effect. You can swipe left or right to like or dislike the content. -
TourGuide
TourGuide is an Android library that aims to provide an easy way to add pointers with animations over a desired Android View -
StickyGridHeaders
DISCONTINUED. An Android Library that makes it easy to make grid views with sectioned data and headers that stick to the top. -
FloatingView
FloatingView can make the target view floating above the anchor view with cool animation -
TileView
TileView is a subclass of android.view.ViewGroup that asynchronously displays, pans and zooms tile-based images. Plugins are available for features like markers, hotspots, and path drawing. -
Bubbles for Android
Bubbles for Android is an Android library to provide chat heads capabilities on your apps. With a fast way to integrate with your development. -
RippleView
View that imitates Ripple Effect on click which was introduced in Android L (for Android 2.3+) -
Android-ActionItemBadge
This library offers a simple method to add a small badge icon to your ActionBar-MenuItem -
android-sliding-layer-lib
DISCONTINUED. Highly customizable SlidingLayer as you have seen in Wunderlist -
SortableTableView
An Android library containing a simple TableView and an advanced SortableTableView providing a lot of customisation possibilities to fit all needs. -
ScratchView
ScratchView repo is UX Design involving scratch cards like views which are scratched to reveal the information they conceal. -
FabricView
A new canvas drawing library for Android. Aims to be the Fabric.js for Android. Supports text, images, and hand/stylus drawing input. The library has a website and API docs, check it out
SaaSHub - Software Alternatives and Reviews
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Audiogram or a related project?
README
Audiogram
Super lightweight audiowave progressbar written in Kotlin
Getting started
Add to your root build.gradle:
allprojects {
repositories {
...
maven { url "https://jitpack.io" }
}
}
Add the dependency:
dependencies {
implementation 'com.github.alxrm:audiowave-progressbar:0.9.2'
}
Attrs
attr | format | description |
---|---|---|
waveColor | color | with this color chunks will be filled |
chunkWidth | dimension | every chunk will have this width |
chunkHeight | dimension | maximum height all the chunks can be |
minChunkHeight | dimension | minimum height all the chunks can be |
chunkSpacing | dimension | spacing between chunks |
chunkRadius | dimension | how much corners of every chunk will be rounded |
progress | float | should be 0..100, it's float so you can easily animate this |
animateExpansion | boolean | toggle the animated expansion |
touchable | boolean | toggle to use it as a seekbar, default value is true |
Note: If you are going to place this in a RecyclerView item, you have to set animateExpansion
to false
, otherwise you'll see an incredibly laggy scroll (check out the example)
In code
Settle the wave somewhere in your XML like this:
<rm.com.audiowave.AudioWaveView
android:id="@+id/wave"
android:layout_width="match_parent"
android:layout_height="32dp"
android:layout_margin="16dp"
app:animateExpansion="false"
app:chunkWidth="3dp"
app:chunkHeight="24dp"
app:minChunkHeight="2dp"
app:chunkSpacing="1dp"
app:chunkRadius="1dp"
app:touchable="true"
app:waveColor="@android:color/white"
/>
API
Set raw byte array asynchronously
// does downsampling in O(N) and shows the animation you see in a gif above (the inflation-like one)
setRawData(byte[] data);
// you also have the ability to listen, when does the downsampling complete
setRawData(byte[] data, OnSamplingListener callback);
In case you have a scaled byte array you want to draw, i. e. an array whose size is the amount of chunks to draw
// instantly redraws the wave without async downsampling process
setScaledData(byte[] scaledData);
You can use it like a Seekbar
, it reacts on touches, just attach listener
wave.setOnProgressListener(OnProgressListener listener);
Note: that setOnProgressListener
is a Java style API and with Kotlin you have to set it like this:
wave.onProgressListener = object : OnProgressListener {...}
This listener has 3 methods like a built-in Seekbar
void onStartTracking(float progress) {
// invokes when user touches the view
}
void onStopTracking(float progress) {
// invokes when user releases the touch
}
void onProgressChanged(float progress, boolean byUser) {
// invokes every time the progress's been changed
}
Kotlin users can listen Seekbar
event in a more convenient and clean way with properties:
wave.onStopTracking = {
Log.d("wave", "Progress set: $it")
}
wave.onStartTracking = {
Log.d("wave", "Started tracking from: $it")
}
wave.onProgressChanged = {progress, byUser ->
Log.d("wave", "Progress set: $progress, and it's $byUser that user did this")
}
Contribution
There are some features(like better precision) I am about to implement, but a little bit later. If you'd like to help, you are always free to send pull requests or issues if you only want to suggest something
Note: All your pull requests should be written in kotlin
License
MIT License
Copyright (c) 2016 Alexey Derbyshev
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*Note that all licence references and agreements mentioned in the Audiogram README section above
are relevant to that project's source code only.