[TIMOB-24407] Android: calendarViewShown does not work on Lollipop and above
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | High |
| Status | Reopened |
| Resolution | Unresolved |
| Affected Version/s | n/a |
| Fix Version/s | Release 6.1.0 |
| Components | Android |
| Labels | n/a |
| Reporter | Gary Mathews |
| Assignee | Lokesh Choudhary |
| Created | 2017-02-16T14:06:18.000+0000 |
| Updated | 2019-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
| File | Date | Size |
|---|---|---|
| Screen Shot 2019-04-30 at 5.57.36 PM.png | 2019-05-01T01:05:17.000+0000 | 95870 |
| Screen Shot 2019-04-30 at 6.01.54 PM.png | 2019-05-01T01:03:30.000+0000 | 76803 |
| test.png | 2017-02-16T14:08:45.000+0000 | 17695 |
master: https://github.com/appcelerator/titanium_mobile/pull/8839
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
This is not working in SDK 7.2 and 7.3. I have tried all suggestions.
Hmmm... Reopening to examine.
Hello Lokesh, can you take a look at this and demonstrate it for me?