hour = String.format("%02d",hourOfDay);
이렇게 하는대신
locale을 써라.
Locale locale = getResources().getConfiguration().locale;'
String str = String.format(locale,"%02d : %02d",hourOfDay,minute); secondTimebutton.setText(str);
'개인공부 > 안드로이드' 카테고리의 다른 글
안드로이드 alarm (0) | 2014.01.03 |
---|---|
android timepickerfragment (0) | 2014.01.03 |
android final (0) | 2014.01.03 |
[개발]tip#2 sqllite update에 대한 오해. (0) | 2013.10.28 |
앱을 기획할때 꼭 읽어보자. (0) | 2013.08.26 |