Groups
Groups
Sign in
Groups
Groups
日本Androidの会
Conversations
About
Send feedback
Help
DatePicker の表示フォーマット
511 views
Skip to first unread message
Sottos
unread,
Jul 29, 2009, 9:29:16 PM
7/29/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to 日本Androidの会
今尾と申します。
初歩的なことでアドバイスお願いします。
layoutで普通に <DatePicker ... /> タグを記述して表示すると、
「Jul 30 2009」のように表示されます。
書籍などに、「7月 30 2009」のような表示フォーマットも
見かけるのですが、DatePickerクラスの説明を見てもよく判りません。
表示形式を変更する方法を教えてくださいませんか。
なお、DatePickerDialog を使用しても同じです。
以上、よろしくお願いします。
Gaku
unread,
Jul 30, 2009, 3:16:53 AM
7/30/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to 日本Androidの会
こんにちは Gakuです。
設定のロケーションをJapanese に変更すると
今尾さんが表示したい形式で表示されると思いますよ
Sottos
unread,
Jul 30, 2009, 6:53:49 AM
7/30/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to 日本Androidの会
Gaku さん、早々にありがとうございます。
> 設定のロケーションをJapanese に変更すると
実機は使用していませんので、シユミレータの基本設定を
「2009-12-31」に変更すると、「2009 Jul 30」の
ように順序は入れ替わりますが、7月にはなってくれません。
ロケーション(location)をヒントに調べてみましたが、
GPS関連しか見つけられませんでした。
どの辺を参考にすればよいでしょうか。
Sottos
unread,
Jul 30, 2009, 6:45:14 PM
7/30/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to 日本Androidの会
Gakuさん、(&自己宛)
select locale -> japanese で上手きました。
初歩的なことでお騒がせしました。
Reply all
Reply to author
Forward
0 new messages