Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/sunnygoy/public_html/ on line 3

Icons and toggles completely disappear

This is a knwon issue.

In android a widget size is restricted to 1 MB. If a widget exceeds this limit, it is automatically removed by the system.

This limit is generally reached when a widget uses too many custom icons (or shoutcuts with colored icons), and especially in case of notification widget, when 2nd row is enabled.

A few workarounds to avoid this issue:

  • Don't use too many shortcuts / custom icons
  • Don't use 2nd row when there are too many shortcuts
  • Use simple toggles in first row and shortcuts in second row. This helps because the first row is defined twice (collapsed and expanded mode) and hence constitute for double its size.