Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notification icon size #2

Closed
GoogleCodeExporter opened this issue May 7, 2015 · 6 comments
Closed

Notification icon size #2

GoogleCodeExporter opened this issue May 7, 2015 · 6 comments

Comments

@GoogleCodeExporter
Copy link

= Problem =

The temperature text is long. Especially in Fahrenheit. For example: "+123°" 
(it's hot, but it's possible).
Before Android 2.3 the notification icon is limited to 25px width. The text 
size is small when scaling to 25px width.
Starting with Android 2.3 the notification icon can be variable width: 
http://developer.android.com/guide/practices/ui_guidelines/icon_design_status_ba
r.html (verification required). There is no problem here.

= Solutions =

== 25px icons ==

Draw icons for each temperature value. Icon size is 25x25.
All icons has the same font size.

=== Advantages ===

 * Universal solution.

=== Disadvantages ===

 * The resulting font size is small.
 * Large .apk file (about 400 icons, in two skins).
 * For Android 2.3 is better solution.

== Variable width icons ==

Draw icons 25px height, but with variable witdh.

=== Advantages ===

 * The resulting font size is good.

=== Disadvantages ===

 * Correctly works with Android >2.3. Previous Android versions downscale the image to 25px width.
 * Large .apk file (about 400 icons, in two skins).

== Multiple icons ==

Display multiple notifications: each icon represents one digit in the 
temperature value.

=== Advantages ===

 * The resulting font size is the best (laaarge).
 * Small .apk size (only about 20 icons, can prepare icons for multiple resolutions).
 * Possible to display full forecasts in multiple notifications.

=== Disadvantages ===

 * Need to be carefully checked, multiple notifications can interfere with others.
 * Hack is required to hide notification text.
 * Mess in status bar during update (What to show in ticker text?)

= Other =

How to make multiple builds: for Android 2.3 and previous Android versions?

TODO: attach screenshots.

Original issue reported on code.google.com by DNelubin on 17 Jan 2011 at 9:18

@GoogleCodeExporter
Copy link
Author

Variable width icons failed. Android 2.3 scales the image to 23px width too :(

Original comment by DNelubin on 17 Jan 2011 at 6:34

Attachments:

@GoogleCodeExporter
Copy link
Author

Fix: 25px

Original comment by DNelubin on 17 Jan 2011 at 6:37

@GoogleCodeExporter
Copy link
Author

Fixed width (25px) icons are much better. Isn't it?
Are they readable?

Original comment by DNelubin on 17 Jan 2011 at 7:16

Attachments:

@GoogleCodeExporter
Copy link
Author

by JM ツ (January 21, 2011)
Great start! Could you make the app smaller. eventually add little icons in the 
bar? Best hopes for the next update!

Original comment by DNelubin on 21 Jan 2011 at 8:47

@GoogleCodeExporter
Copy link
Author

Is the comment from JM the vote to multiple icons?

Original comment by DNelubin on 21 Jan 2011 at 8:48

@GoogleCodeExporter
Copy link
Author

For ICS and later Android the skin with large numbers is implemented.

Original comment by DNelubin on 27 Dec 2012 at 4:36

  • Changed state: Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant