+ TextView description = activity.findViewById(R.id.new_transaction_description);
+ boolean tookFocus = description.requestFocus();
+ if (tookFocus) activity.getWindow()
+ .setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE);
+ }
+ @Override
+ public void onSelectedDayChange(@NonNull CalendarView view, int year, int month,
+ int dayOfMonth) {
+ updateDateInput(year, month, dayOfMonth);