Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17447] Android: TIME Picker is too small when useSpinner is set to true

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2014-11-27T05:26:41.000+0000
Affected Version/sRelease 3.3.0
Fix Version/sRelease 3.4.2, Release 3.5.0, Release 4.0.0
ComponentsAndroid
Labelsmodule_picker, qe-manualtest
ReporterRadamantis Torres-Lechuga
AssigneeHieu Pham
Created2014-08-02T00:09:55.000+0000
Updated2014-11-27T05:26:41.000+0000

Description

Problem Description

When you use a Date Picker with TYPE_TIME set, it will look really small. Even if you set the font size.

Steps to reproduce

1. Create a new mobile project (Classic Titanium) 2. Paste the testcase into app.js:
Ti.UI.backgroundColor = 'white';
var win = Ti.UI.createWindow({
  exitOnClose: true,
  layout: 'vertical'
});
  
var picker = Ti.UI.createPicker({
  type:Ti.UI.PICKER_TYPE_TIME,
  minDate:new Date(2009,0,1),
  maxDate:new Date(2014,11,31),
  value:new Date(2014,3,12),
  font: {
    fontWeight: 'bold',
    fontSize:32,
    },
  top:50,
  width: Ti.UI.FILL,
  useSpinner: true,
});
  
win.add(picker);
win.open();

Comments

  1. jithinpv 2014-08-21

    Issue reproduces Titanium SDK version 3.4.0 master, 3.3.0.GA Titanium Studio, build: 3.3.0.201407100905 Titanium Command-Line Interface CLI version 3.3.0, Android device : Motorola Moto G, Android version : 4.4.4
  2. Hieu Pham 2014-10-30

    master PR: https://github.com/appcelerator/titanium_mobile/pull/6294 3.4.X PR: https://github.com/appcelerator/titanium_mobile/pull/6315
  3. Satyam Sekhri 2014-11-25

    The picker is shown with appropriate size Verified on: SDK: 3.5.0.v20141124155715 Studio: 3.4.1.201410281743 CLI: 3.4.1 Alloy: 1.5.1 Device: Samsung Galaxy S5 (v4.4.2)

JSON Source