Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP wgilles

1st May 2014, 08:52 PM   |  #1  
wgilles's Avatar
OP Senior Member
Thanks Meter: 486
 
294 posts
Join Date:Joined: Mar 2011
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
  
10th May 2014, 02:31 PM   |  #2  
Junior Member
Thanks Meter: 0
 
1 posts
Join Date:Joined: May 2014
Quote:
Originally Posted by wgilles

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, 22 views)
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes