Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,782,164 Members 49,841 Now Online
XDA Developers Android and Mobile Development Forum

[HELP] Need help making battery progress bar with Zelda hearts

Tip us?
 
wgilles
Old
#1  
wgilles's Avatar
Senior Member - OP
Thanks Meter 435
Posts: 285
Join Date: Mar 2011
Question [HELP] Need help making battery progress bar with Zelda hearts

Hi everyone,

I'm trying to make a widget to show 5 Zelda hearts that would represent the battery. I'm only going to be using 2 images to keep it simple. Basically I want it to show in 20% increments. So when the battery is at 80% it shows 4 full hearts and 1 empty heart, so on and so on for 60%, 40%, etc.

I don't need anything fancy like charging animations, just what is stated above. Can this be done? I attached the 2 images I want to use.

Any help would be appreciated.
Attached Images
  
LG G2 - VS980 - XDABBEB's VS98024A v1.2.1
LG G Pad 8.3 - Mahdi ROM - 4.4.2
Gilles Photography - My Portfolio
My Video Game Theme Zooper Thread
 
iii_ink
Old
#2  
Junior Member
Thanks Meter 0
Posts: 1
Join Date: May 2014
Quote:
Originally Posted by wgilles View Post
Hi everyone,

I'm trying to make a widget to show 5 Zelda hearts that would represent the battery. I'm only going to be using 2 images to keep it simple. Basically I want it to show in 20% increments. So when the battery is at 80% it shows 4 full hearts and 1 empty heart, so on and so on for 60%, 40%, etc.

I don't need anything fancy like charging animations, just what is stated above. Can this be done? I attached the 2 images I want to use.

Any help would be appreciated.
This work?
Attached Files
File Type: zip Zelda Hearts.zip - [Click for QR Code] (17.8 KB, 18 views)
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes