Hi,
Is it possible to hide one of the selectors in the date time selector? I've seen some code apparently doing that in native android: http://stackoverflow.com/questions/21321789/android-datepicker-change-to-only-month-and-year
There is a cool one-liner
((ViewGroup) datePickerDialog.getDatePicker()).findViewById(Resources.getSystem().getIdentifier("day", "id", "android")).setVisibility(View.GONE);
I wanted to test it but I didn't manage to compile the module on my machine.
Thanks for any help
Hi,
Is it possible to hide one of the selectors in the date time selector? I've seen some code apparently doing that in native android: http://stackoverflow.com/questions/21321789/android-datepicker-change-to-only-month-and-year
There is a cool one-liner
((ViewGroup) datePickerDialog.getDatePicker()).findViewById(Resources.getSystem().getIdentifier("day", "id", "android")).setVisibility(View.GONE);I wanted to test it but I didn't manage to compile the module on my machine.
Thanks for any help