Android studio simpledateformat可以休年假edittext(日期)

问题描述 投票:0回答:1

如果有日期edittext,并且每当输入日期时,如何构造代码。它会读取输入的年份,并在按下按钮时显示输入的特定年份的特定信息。

enter image description here

android android-studio android-edittext simpledateformat
1个回答
0
投票

您应在EditText的提示中指定日期格式,以实现如[[dd / mm / yyyy

© www.soinside.com 2019 - 2024. All rights reserved.