Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24407] Android: calendarViewShown does not work on Lollipop and above

GitHub Issuen/a
TypeBug
PriorityHigh
StatusReopened
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sRelease 6.1.0
ComponentsAndroid
Labelsn/a
ReporterGary Mathews
AssigneeLokesh Choudhary
Created2017-02-16T14:06:18.000+0000
Updated2019-05-01T01:08:12.000+0000

Description

Using Ti.UI.PICKER_TYPE_DATE with calendarViewShown: false on Android Lollipop and above always creates a calendar view. *TEST CASE*
var win = Titanium.UI.createWindow({
        title: 'TIMOB-24407',
        backgroundColor: 'gray'
    }),
    picker = Ti.UI.createPicker({
        calendarViewShown: false,
        type: Ti.UI.PICKER_TYPE_DATE
    });

win.add(picker);
win.open();

Attachments

FileDateSize
Screen Shot 2019-04-30 at 5.57.36 PM.png2019-05-01T01:05:17.000+000095870
Screen Shot 2019-04-30 at 6.01.54 PM.png2019-05-01T01:03:30.000+000076803
test.png2017-02-16T14:08:45.000+000017695

Comments

  1. Gary Mathews 2017-02-16

    master: https://github.com/appcelerator/titanium_mobile/pull/8839
  2. Lee Morris 2017-02-22

    Can verified that this works fine, tested with the following environment. Android 7.1.1 MacOS 10.11.6 (15G31) Studio 4.8.1.201612050850 Ti SDK 6.1.0.v20170220091247 Appc NPM 4.2.8 Appc CLI 6.2.0-12 Ti CLI 5.0.11 Alloy 1.9.6 Arrow 1.10.2 Xcode 8.2 (8C38) Node v4.6.0 Java 1.7.0_80
  3. Joshua A. Ceaser 2018-08-21

    This is not working in SDK 7.2 and 7.3. I have tried all suggestions.
  4. Eric Merriman 2019-04-30

    Hmmm... Reopening to examine.
  5. Eric Merriman 2019-04-30

    Hello Lokesh, can you take a look at this and demonstrate it for me?

JSON Source