Bluetooth State View

Additional

Language
Kotlin
Version
v1.0.0 (Jan 19, 2019)
Created
Dec 7, 2018
Updated
Feb 3, 2019
Owner
Erdem Orman (eo)
Contributor
Erdem Orman (eo)
1
Activity
Badge
Generate
Download
Source code
APK file

Promotion

Bluetooth State View

Material design animated Bluetooth state view for Android

Download

dependencies {
  implementation 'eo.view:bluetoothstate:1.0.0'
}

You also have the option to download individual animated vector drawables:

dependencies {
  implementation 'eo.avd:bluetoothconnecting:1.0.0'
  implementation 'eo.avd:bluetoothsearching:1.0.0'
  implementation 'eo.avd:bluetoothturningonoff:1.0.0'
}

Usage

Library contains both BluetoothStateView and BluetoothStateDrawable classes. Following XML attributes have corresponding class properties.

<eo.view.bluetoothstate.BluetoothStateView
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    app:bluetoothAnimateStateChanges="true"
    app:bluetoothColor="@android:color/black"
    app:bluetoothTheme="rounded"
    app:bluetoothState="searching" />

Themes & Animations

Connecting Searching Turning On & Off
Rounded  
Sharp  

Sample

Download sample app under releases to play with the library

License

Copyright 2018 Erdem Orman

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.