Uploaded image for project: 'Appcelerator - INBOX'
  1. Appcelerator - INBOX
  2. AC-4774

Android : *calendarViewShown* not working

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Duplicate
    • Affects Version/s: Appcelerator Studio 4.5.0
    • Component/s: Alloy
    • Labels:
      None
    • Environment:

      Appcelerator Studio, build: 4.8.0.201609101003
      SDK : 5.5.0 GA and above
      OS Type : Android

      Description

      Hello,
      I have been trying to the date picker in Android which works perfectly fine, My issue is with the calendarViewShown property. I need to use old style Date picker in the all the versions of android, this works as default in android 4 and lower but when we run the app on android 5 and later the default date picker shows the calendar and instead i would want use the old date picker.
      For which i have used the property calendarViewShown and as shown in the below pic I'm not getting the expected result.

      <Alloy>
      <Window class="container">
      <View backgroundColor="black" height="Ti.UI.SIZE" width="Ti.UI.SIZE">
      <Picker calendarViewShown="false" nativeSpinner="true" type="Ti.UI.PICKER_TYPE_DATE" datePickerMode="spinner"></Picker>
      </View>
      </Window>
      </Alloy>

        Attachments

          Activity

            People

            • Assignee:
              shossain Shak Hossain
              Reporter:
              ashishseb Ashish Sebastian
            • Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Source Code