Signal Strength View

Additional

Language
Kotlin
Version
v2.0.0 (Mar 2, 2019)
Created
Nov 30, 2018
Updated
Mar 2, 2019 (Retired)
Owner
Erdem Orman (eo)
Contributor
Erdem Orman (eo)
1
Activity
Badge
Generate
Download
Source code

Signal Strength View

Material design signal strength view for Android

Download

dependencies {
  implementation 'eo.view:signalstrength:2.0.0'
}

Usage

Library contains both SignalStrengthView and SignalStrengthDrawable classes. Following XML attributes have corresponding class properties.

<eo.view.signalstrength.SignalStrengthView
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    app:signalStrengthColor="?colorAccent"
    app:signalStrengthLevel="50"
    app:signalStrengthTheme="rounded" />

Style

Signal strength view is styleable using signalStrengthStyle in your theme. Widget.SignalStrength can be used as a base style.

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.