Reputation: 63
I've 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:calendarViewShown
is not working. Why?
It's in the Android Developer's Guide.
Upvotes: 3
Views: 1375
Reputation: 2245
That's only available for API 11 and higher. Are you targeting a lower one?
Upvotes: 3