AnimatedRecordingView

Introduction: Android animated recording view
More: Author   ReportBugs   
Tags:
recording-siri-录音动画-

Android animated recording view .中文版

Preview

预览

Gradle

compile 'com.haozhang.libary:android-animated-recording-view:1.0'

How to use

Use in xml

<com.haozhang.lib.AnimatedRecordingView
    android:id="@+id/recording"
    android:layout_width="match_parent"
    android:layout_height="200px"
    />

Use in method

    AnimatedRecordingView mRecordingView = (AnimatedRecordingView) findViewById(R.id.recording);
    // start recording animation
    mRecordingView.start();
    // set the mic volume
    float vol;
    mRecordingView.setVolume(vol);
    // start loading animation
    mRecordingView.loading();
    // start finished animation
    mRecordingView.stop();

License

Copyright 2016 Hand HaoZhang

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.
Apps
About Me
GitHub: Trinea
Facebook: Dev Tools