DatePicker android: calendarViewShown

I have the following code:

<DatePicker
    android:id="@+id/datepicker"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:calendarViewShown="true" />

But the attribute android:calendarViewShowndoes not work . Why?
It is in the Android Developer's Guide .

+3
source share
1 answer

This is only available for API 11 and above. Are you targeting lower?

+3
source

Source: https://habr.com/ru/post/1794430/


All Articles