Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-8130] Android: Tab icons look very small when anyDensity="false" is not set in tiapp.xml

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2014-02-11T21:33:00.000+0000
Affected Version/sRelease 1.8.2
Fix Version/sRelease 3.2.0, Release 3.2.3
ComponentsAndroid
Labelsexalture, hard_to_verify
ReporterMauro Parra-Miranda
AssigneeIngo Muschenetz
Created2012-03-20T15:55:20.000+0000
Updated2014-04-18T11:04:28.000+0000

Description

Problem Description

Customer doesn't set is NOT added to tiapp.xml. The app scales the icon size correctly when anyDensity="false" but I'm trying to see how this works without that property. My confusion is because the icon size guidelines from the Android documentation (http://developer.android.com/guide/practices/ui_guidelines/icon_design_tab.html) don't match my testing. The docs says that an hdpi screen should have a tab icon of 42x42, but testing on the WVGA800 emulator (dpi 240) it looks like an icon of size ~96x96 is the correct size. I'm not sure if this is necessarily a bug but I was wondering if it was already known/documented what size icons should be used, and why it's different from the official documentation. Attached is a screen from the WVGA800 emulator. The icon on the tab "Test" is 42x42, the icon on the tab "Settings" is 96x96

Actual results

Even if you follow the guideline, the icon will be small in the tab.

Expected results

The icon should be bigger in the tab.

Test case

check the screenshot.

Attachments

FileDateSize
Screen shot 2012-03-19 at 1.22.22 PM.png2012-03-20T15:55:37.000+000045956

Comments

  1. Shak Hossain 2014-02-11

    This issue can't be reproduced with TISDK 3.2 or higher. Therefore, marking it as resolved.
  2. Deepti Pandey 2014-04-18

    Verified FIXED : Appc Studio: 3.2.3.201404162038 SDK build: 3.2.3.v20140417162517, 3.3.0.v20140417173316 and 3.2.0 GA acs: 1.0.14 npm: 1.3.2 alloy:1.3.1 CLI: titanium@3.2.3-beta titanium-code-processor:1.1.1-beta1 Xcode: 5.1.1 Osx: Mavericks(10.9.2) Device: Nexus 7 (4.3) Icons are fine.

JSON Source