Details
-
Type:
New Feature
-
Status: Closed
-
Priority:
Medium
-
Resolution: Fixed
-
Affects Version/s: Release 3.0.0
-
Fix Version/s: 2013 Sprint 20, 2013 Sprint 20 API, Release 3.2.0
-
Component/s: Android
-
Environment:
Application type: mobile, Titanium SDK: 3.0, Platform & version: Android 4.1, Device: Samsung S3
Description
Feature Request
As of API Level 11 there is a picker property called calendarViewShown which will show a calendar as a part of the date picker view as shown in the attached screen shot.
Original Community Request
when using the date picker i get a picker with three columns (day, month and year) but ALSO i am getting a calendar like box on the right containing the number of days. how can i remove the calendar box and keep the picker columns?? i am compiling against android 3.2 SDK
<android xmlns:android="http://schemas.android.com/apk/res/android">
|
<tool-api-level>13</tool-api-level>
|
<manifest>
|
<uses-sdk android:targetSdkVersion="13" android:minSdkVersion="13"/>
|
<!--
|
<uses-sdk android:minSdkVersion="10"/>
|
-->
|
</manifest>
|
</android>
|
my code:
var minDate = new Date();
|
var curMonth = 0;
|
for (var i = 0; i < 12; i++) {
|
curMonth = minDate.getMonth();
|
curMonth--;
|
minDate.setMonth(curMonth);
|
}
|
var now = new Date();
|
this.visitDatePicker = Ti.UI.createPicker({
|
type : Ti.UI.PICKER_TYPE_DATE,
|
maxDate : now,
|
value : now,
|
minDate : minDate,
|
selectionIndicator : true
|
});
|
posted problem on the forum but didn't get any suggestions yet http://developer.appcelerator.com/question/147296/date-picker-with-box-calendar-like-days-on-the-right
Attachments
Issue Links
- mentioned in
-
Wiki Page Loading...