[APP] Battery and Dock Widget [v1.1.1] 2011-06-13

Search This thread

beeone42

Member
Feb 25, 2007
24
26
Paris
attachment.php
Battery and Dock Widget

This an 1x1 widget to display the charge status and level of tab and dock, like the one in this thread:

http://xdaforums.com/showthread.php?t=1112391

but with a great design from scar45

attachment.php
attachment.php



Changelog:

  • 1.1.0: added settings page (when you add the widget to the home screen) to choose skin and to show "tab/dock" or just %, fixed install issues, centered the widget in home cell
  • 1.0.1: added shadow behing text, app icon fixed
  • 1.0.0: initial release


Want to help ?

Source code: bWidgetTest-src-1.1.1.rar

i'm not an artist, if you are like scar45, please make something better using this example:

bWidgetTest-skin-example.rar


attachment.php


enjoy
 

Attachments

  • bWidgetTest-skin-example.rar
    61.7 KB · Views: 144
  • preview_purple_yellow.png
    preview_purple_yellow.png
    13 KB · Views: 50,878
  • icon.png
    icon.png
    2.4 KB · Views: 32,659
  • bWidgetTest-1.1.1.apk
    325 KB · Views: 768
  • bWidgetTest-src-1.1.1.rar
    926.8 KB · Views: 162
  • preview_green_red.png
    preview_green_red.png
    14 KB · Views: 36,576
Last edited:

frosty5689

Senior Member
May 10, 2011
696
146
Thanks for the widget. One suggestion though if you put the % level on the two meters it would make it easier to read. I think it is easy to remember which meter is tablet and which is dock. So only % would be needed. This makes the widget simplistic and easy to read.

Sent from my Transformer TF101
 

flumpster

Senior Member
Apr 4, 2011
2,726
2,229
Rhondda Valleys
As the poster says above the text needs changing. Most widgets or text for icons are done in white with a drop shadow on the text then no matter what color background you have you will always see it. At the moment I can't read the text at all with the water live wallpaper.

Otherwise great job.
 

flumpster

Senior Member
Apr 4, 2011
2,726
2,229
Rhondda Valleys
Nice one.

I just came back here to post an updated version for you but you had already done it.
One quick question, did you zip align the apk or did you make other changes also because mine was 51k and yours is 66k.

Only changes I made were as follows on both your textviews.

android:shadowColor="#000000" android:shadowRadius="1.5" android:shadowDx="1" android:shadowDy="1" android:textColor="#ffffffff"
 

Ultraman666

Senior Member
Apr 8, 2010
1,687
781
Kansas
Xiaomi Mi Mix
OnePlus 9 Pro
Interesting stuff nice to have a battery percentage for the dock since it got taken away with the updates. Thanks will give it a go, maybe you might make some other looks like the gauges look just an idea, thanks keep up the good work.
 

MISFITZ

Senior Member
May 31, 2011
153
17
I went ahead and installed it...but does not seem to show anywhere on my TM...I am on Primornal 3.1 with the latest 1.4 kernal...
 

beeone42

Member
Feb 25, 2007
24
26
Paris
I have the same issue. the widget chooser do not show the widget immediately. You can reboot to make it appear
 

pnnorth

Senior Member
Dec 18, 2010
722
183
Works absolutely fine for me on stock 3.1, thanks

Sent from my Nexus S using XDA App
 

Top Liked Posts