akashk1992 / weather-notification-android

Automatically exported from code.google.com/p/weather-notification-android
0 stars 0 forks source link

Display time in notification #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
by Greg (February 1, 2011)
Been using this for a couple weeks now and love it. Could use an option for 
update time to be in am & pm and have it listed on notification pulldown.

Original issue reported on code.google.com by DNelubin on 2 Feb 2011 at 5:32

GoogleCodeExporter commented 9 years ago
mihovilic:
Just maybe, if it's possible add a "last refresh time" in the notification view 
(possibly in the same row as the "current condition" text, right justified with 
a normal (non bold) font. To fit the string you can use fuzzy relative time 
like: "now" if time delta <15min, "15 min ago", "30 min ago" etc

Original comment by DNelubin on 26 May 2011 at 5:31

GoogleCodeExporter commented 9 years ago
mihovilic:

This is the layout file with the update time added but I can't seem to get it 
to work, added a case statement for update_time to RemoteWeatherLayout.java, 
the skin force closes with this :(

http://pastebin.com/SjLe6dPe

Fuzzy update time would not work with the current way things are handled since 
it would require more frequent viewBinds which would just add overhead.

Original comment by DNelubin on 26 May 2011 at 5:32

GoogleCodeExporter commented 9 years ago

Original comment by DNelubin on 14 Jun 2011 at 6:45

Attachments:

GoogleCodeExporter commented 9 years ago
Great work!

Original comment by mihovi...@gmail.com on 14 Jun 2011 at 7:09