All Projects → eo → Battery Meter View

eo / Battery Meter View

Licence: apache-2.0
🔋 Material design battery meter (i.e. level, state) view for Android

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to Battery Meter View

Bluetooth State View
Material design animated Bluetooth state view for Android
Stars: ✭ 36 (-36.84%)
Mutual labels:  material-design, material, custom-view, android-ui
Android Art
🎄 Android™ 设计相关的在线工具: 图标制作、配色方案、尺寸修改、截图加壳等,持续更新...
Stars: ✭ 95 (+66.67%)
Mutual labels:  material-design, material, android-ui
signal-strength-view
📶 Material design signal strength view for Android
Stars: ✭ 30 (-47.37%)
Mutual labels:  material, custom-view, android-ui
Ibackdrop
A library to simply use Backdrop in your project (make it easy). Read more ->
Stars: ✭ 137 (+140.35%)
Mutual labels:  material-design, material, android-ui
Materialfavoritebutton
Animated favorite/star/like button
Stars: ✭ 586 (+928.07%)
Mutual labels:  material-design, material, android-ui
Materiallettericon
Material first letter icon like lollipop contacts icon. Letter(s) on a shape drawn on canvas.
Stars: ✭ 255 (+347.37%)
Mutual labels:  material-design, material, android-ui
Tableview
TableView is a powerful Android library for displaying complex data structures and rendering tabular data composed of rows, columns and cells.
Stars: ✭ 2,928 (+5036.84%)
Mutual labels:  material-design, custom-view, android-ui
Sequent
A simple continuous animation library for Android UI.
Stars: ✭ 263 (+361.4%)
Mutual labels:  material-design, material, android-ui
Material Progressview
🔥A beautiful, gradual and simple used progress view for android.
Stars: ✭ 406 (+612.28%)
Mutual labels:  material-design, material, android-ui
Slidetoact
A simple 'Slide to Unlock' Material widget for Android, written in Kotlin 📱🎨🦄
Stars: ✭ 783 (+1273.68%)
Mutual labels:  material-design, material, android-ui
Paper Ripple
Material Design Ripple effect in pure JS & CSS.
Stars: ✭ 55 (-3.51%)
Mutual labels:  material-design, material
Xcdanmuview
Android弹幕效果View-支持左右两个方向
Stars: ✭ 28 (-50.88%)
Mutual labels:  custom-view, android-ui
React Saas Template
🌊 Template for building an SaaS / admin website using React + Material-UI
Stars: ✭ 942 (+1552.63%)
Mutual labels:  material-design, material
Material Design Lite
Material Design Components in HTML/CSS/JS
Stars: ✭ 31,931 (+55919.3%)
Mutual labels:  material-design, material
Peppy Calendarview
Simple and fast Material Design calendar view for Android.
Stars: ✭ 30 (-47.37%)
Mutual labels:  custom-view, android-ui
Jtmaterialtransition
An iOS transition for controllers based on material design.
Stars: ✭ 966 (+1594.74%)
Mutual labels:  material-design, material
Alfred Mdi
Alfred 3 workflow to find Material Design Icons
Stars: ✭ 38 (-33.33%)
Mutual labels:  material-design, material
Quasar Awesome
🎉 A list of awesome things related to Quasar
Stars: ✭ 995 (+1645.61%)
Mutual labels:  material-design, material
Vuetify
🐉 Material Component Framework for Vue
Stars: ✭ 33,085 (+57943.86%)
Mutual labels:  material-design, material
Materialsearchview
Android Search View based on Material design guidelines.
Stars: ✭ 987 (+1631.58%)
Mutual labels:  material-design, material

Battery Meter View

Icon

Material design battery meter view for Android

Download License License

Download

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

Usage

Library contains both BatteryMeterView and BatteryMeterDrawable classes. Following XML attributes have corresponding class properties.

<eo.view.batterymeter.BatteryMeterView
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    app:batteryMeterChargeLevel="80"
    app:batteryMeterChargingColor="#4caf50"
    app:batteryMeterColor="#0277bd"
    app:batteryMeterCriticalChargeLevel="15"
    app:batteryMeterCriticalColor="#d84315"
    app:batteryMeterIndicatorColor="@android:color/transparent"
    app:batteryMeterIsCharging="true"
    app:batteryMeterTheme="rounded"
    app:batteryMeterUnknownColor="#e0e0e0" />

Themes & States

Unknown Default Charging Critical
Rounded  Rounded Unknown Rounded Default Rounded Charging Rounded Critical
Sharp Sharp Unknown Sharp Default Sharp Charging Sharp Critical

Style

Battery meter view is styleable using batteryMeterStyle in your theme. Widget.BatteryMeter can be used as a base style.

Sample

Download sample app under releases to play with the library

Sample First Screenshot Sample Second Screenshot

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.
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].