Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13223] Android: Notifications appear too small when anyDensity=false

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionInvalid
Resolution Date2013-04-01T17:16:20.000+0000
Affected Version/sRelease 2.1.4, Release 3.0.0, Release 3.0.2
Fix Version/sn/a
ComponentsAndroid
LabelssupportTeam
ReporterBetty Tran
AssigneeIngo Muschenetz
Created2013-03-26T20:43:51.000+0000
Updated2017-03-22T21:53:05.000+0000

Description

Description

When setting anyDensity property to false in tiapp.xml, android notifications appear very small in comparison to when anyDensity is the default value.

Code to reproduce

http://pastie.org/7127901 Set anyDensity false property in tiapp.xml
 <supports-screens android:anyDensity="false"/>
Please also see the attached screenshots.

Attachments

FileDateSize
galaxy_nexus_anyDensity_default.png2013-03-26T20:43:51.000+000031568
galaxy_nexus_anyDensity_false.png2013-03-26T20:43:51.000+000033488

Comments

  1. Ingo Muschenetz 2013-04-01

    Using anyDensity as false is not recommended. Marking as invalid.
  2. Guto Dasilva 2013-04-01

    Not recommended is not the same as unsupported. Like myself, many developers use this set to false so we dont have to worry about the many density screens supported by android. This works everywhere besides the specified OS. For those of us that dont care about the picture perfect capability that comes with setting it to true (default) this is a very important and easy to QA feature to not have to care about the specifics of the many densities out there. If this is no longer supported, then please remove the ability to us to set it to false and break many of our apps and you will see how many still use this functionality. Also, a good idea would be to take this down http://developer.appcelerator.com/blog/2011/06/new-defaults-for-android-layouts-in-1-7.html Or write a different one that does not say this "Or, if you’d rather have your UIs scaled up and down in all cases (as was the default setting in previous versions of Titanium), you can add the tiapp.xml configuration setting we led off this article with. Let us know if you have any questions, and hopefully this helps clear up any confusion around layout on Android." Also, Titanium recommends the usage of commonJS, does that mean that any bug filed that does not use commonJS will be marked as invalid? Thanks Guto
  3. Lee Morris 2017-03-22

    Closing ticket as invalid with reference to previous comments.

JSON Source