All Projects → emrekose26 → Recordbutton

emrekose26 / Recordbutton

Licence: apache-2.0
Android record button view

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to Recordbutton

Cameravideobutton
Instagram like animated button for taking photo or recording video.
Stars: ✭ 223 (+243.08%)
Mutual labels:  customview, button
Fillingbutton
🔥Replace typical onLongClickListener with this library!
Stars: ✭ 31 (-52.31%)
Mutual labels:  customview, button
Hhcustomcorner
Awesome library to customize corners of UIView and UIButton. Now you can customize each corner differently
Stars: ✭ 36 (-44.62%)
Mutual labels:  button
Animatedpencil
Animated Pencil Action view for Android
Stars: ✭ 61 (-6.15%)
Mutual labels:  button
Sizeslidebutton
A fun Swift UIControl for picking a size
Stars: ✭ 46 (-29.23%)
Mutual labels:  button
Aws Iot Button
Stars: ✭ 37 (-43.08%)
Mutual labels:  button
Tvosmorebutton
📺 tvOS '... More' Button
Stars: ✭ 51 (-21.54%)
Mutual labels:  button
Featuredrecyclerview
Ultimate recycler view.
Stars: ✭ 872 (+1241.54%)
Mutual labels:  customview
Circlefloatbar
CircleFloatBar(with animation) 圆形悬浮窗(带动画特效)
Stars: ✭ 63 (-3.08%)
Mutual labels:  customview
Roundbutton
Android Button with corner, morph and animations
Stars: ✭ 39 (-40%)
Mutual labels:  button
Testleavesloading
Android 自定义 View 之 LeavesLoading
Stars: ✭ 55 (-15.38%)
Mutual labels:  customview
Legacytableview
simple light weight android library for displaying tabulated data
Stars: ✭ 39 (-40%)
Mutual labels:  customview
React Native Really Awesome Button
React Native button component. Awesome Button is a 3D at 60fps, progress enabled, social ready, extendable, production ready component that renders an awesome animated set of UI buttons. 📱
Stars: ✭ 988 (+1420%)
Mutual labels:  button
Progressbutton
Custom ProgressButton
Stars: ✭ 52 (-20%)
Mutual labels:  button
Particleeffectsbuttons
A little library that can be used for bursting particles effects on buttons and other elements
Stars: ✭ 1,122 (+1626.15%)
Mutual labels:  button
React Awesome Button
React button component. Awesome button is a 3D UI, progress, social and share enabled, animated at 60fps, light weight, performant, production ready react UI button component. 🖥️ 📱
Stars: ✭ 943 (+1350.77%)
Mutual labels:  button
Flutter Neumorphic
A complete, ready to use, Neumorphic ui kit for Flutter, 🕶️ dark mode compatible
Stars: ✭ 988 (+1420%)
Mutual labels:  button
Buttonanimator
自定义按钮,动画,跳转动画
Stars: ✭ 47 (-27.69%)
Mutual labels:  button
Transitionbutton
UIButton sublass for loading and transition animation.
Stars: ✭ 1,124 (+1629.23%)
Mutual labels:  button
Fitbutton
The button which can use with icon, text, divider, custom ripple effect, border, corner radius e.t.c.
Stars: ✭ 63 (-3.08%)
Mutual labels:  button

Record Button

License Android Arsenal

This is a library which can you create a record button view in android

Download

1.Add this in your root build.gradle at the end of repositories:

allprojects {
    repositories {
        ...
        maven { url "https://jitpack.io" }
    }
}

2.Add this dependency in your app level build.gradle:

dependencies {
    ...
   compile 'com.github.emrekose26:RecordButton:1.2.4'
}

Usage

1. In your layout XML file:

<com.emrekose.recordbutton.RecordButton
    android:id="@+id/recordBtn"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    app:buttonGap="10dp"
    app:buttonRadius="40dp"
    app:maxMilisecond="10000"
    app:progressColor="@color/colorPrimary"
    app:progressStroke="15"
    app:recordIcon="@drawable/ic_keyboard_voice_white_36dp" />

2. In your class file:

RecordButton recordButton = (RecordButton) findViewById(R.id.recordBtn);

        recordButton.setRecordListener(new OnRecordListener() {
            @Override
            public void onRecord() {
                Log.e(TAG, "onRecord: ");
            }
            
            @Override
            public void onRecordCancel() {
                Log.e(TAG, "onRecordCancel: ");
            }
            
            @Override
            public void onRecordFinish() {
                Log.e(TAG, "onRecordFinish: ");
            }
        });

License

Copyright 2017 Emre Köse

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.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].