Fix value in string.xml and format date

This commit is contained in:
Nezumi
2023-02-08 11:51:39 +07:00
parent 349aab1988
commit 11d7e18ccd
3 changed files with 22 additions and 5 deletions
+17
View File
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="deploymentTargetDropDown">
<runningDeviceTargetSelectedWithDropDown>
<Target>
<type value="RUNNING_DEVICE_TARGET" />
<deviceKey>
<Key>
<type value="VIRTUAL_DEVICE_PATH" />
<value value="$USER_HOME$/.android/avd/Pixel_6_API_33.avd" />
</Key>
</deviceKey>
</Target>
</runningDeviceTargetSelectedWithDropDown>
<timeTargetWasSelectedWithDropDown value="2023-02-08T04:49:02.963423Z" />
</component>
</project>
@@ -139,7 +139,7 @@ public class SignUpActivity extends AppCompatActivity {
}
private void updateLabel(){
String myFormat="MM/dd/yy";
String myFormat="dd/MM/yyyy";
SimpleDateFormat dateFormat=new SimpleDateFormat(myFormat, Locale.US);
editText.setText(dateFormat.format(myCalendar.getTime()));
}
+4 -4
View File
@@ -16,9 +16,9 @@
<string name="repeat_password_text">xác nhận mật khẩu</string>
<string name="first_name_text">Họ</string>
<string name="last_name_text">Tên</string>
<string name="birthday_text">ngày sinh nhật (mm/dd/yyyy)</string>
<string name="birthday_text">ngày tháng năm sinh</string>
<string name="address_text">địa chỉ</string>
<string name="phone_or_email">phone or email</string>
<string name="forgot_password">Forgot Password?</string>
<string name="dont_have_an_account">Don\'t have an account?</string>
<string name="phone_or_email">số điện thoại hoặc email</string>
<string name="forgot_password">quên mật khẩu?</string>
<string name="dont_have_an_account">Bạn chưa có tài khoản?</string>
</resources>