Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-12539

Android: Add calendarViewShown to picker

    Details

      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

            Activity

              People

              • Assignee:
                bijuexalture Biju pm
                Reporter:
                sameeh.harfoush Sameeh Harfoush
                Reviewer:
                Hieu Pham
              • Watchers:
                13 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                    Git Source Code