user672512
user672512

Reputation: 63

DatePicker android:calendarViewShown

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

Answers (1)

Spencer
Spencer

Reputation: 2245

That's only available for API 11 and higher. Are you targeting a lower one?

Upvotes: 3

Related Questions