开发者

DatePicker android:calendarViewShown

开发者 https://www.devze.com 2023-02-12 23:38 出处:网络
I\'ve the following code: <DatePicker android:id=\"@+id/datepicker\" android:layout_width=\"wrap_content\"

I've the following code:

<DatePicker
    android:id="@+id/datepicker"
    android:layout_width="wrap_content"
开发者_Go百科    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.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消