After reasearching a lot, I could implement the Datepicker
without month and year for the APIs above 11 except API 23(marshmallow), because in the APIs below 23, the DialogFragment
was containing 3 fields separately and by hiding the date field it was achieved and now the fragment is a calendar and now how can we implement the Fragment without date field.
Asked
Active
Viewed 3,644 times
2

V-rund Puro-hit
- 5,518
- 9
- 31
- 50

harsha vardhan
- 23
- 1
- 5
-
Here is a link [Android DatePicker change to only Month and Year](http://stackoverflow.com/questions/21321789/android-datepicker-change-to-only-month-and-year) that you might looking for. Thanks. :) – Swanand Nov 18 '16 at 13:10
-
I have seen that prior but it didn't work at all. – harsha vardhan Nov 19 '16 at 15:16
-
@harshavardhan How did you implemented it? – Anupriya Nov 05 '21 at 05:04