Android: How to create a DatePicker?

I would like to create a DatePicker but cannot find.

I would like to edit the layout (whose link can be found here: https://android.googlesource.com/platform/frameworks/base/+/36f469fa46bd009bfbc27d1350af5bde4a4dd378/core/res/res/layout/date_picker_holo.xml ) but is not recognized by internalLay Android Studio Editor

<style name="MyDatePicker" parent="Widget.DatePicker"> <item name="android:internalLayout">@android:layout/date_picker_holo</item> </style> 

Does anyone know how to do this?

+6
source share
1 answer

I believe that you will need to recreate the layout with your own look and extend the DatePicker. Tag this post Custom DatePicker on Android?

0
source

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


All Articles