Groups
Groups
Sign in
Groups
Groups
日本Androidの会
Conversations
About
Send feedback
Help
Buttonテキストのスタイルを途中で変える方法について
132 views
Skip to first unread message
Greg
unread,
Dec 8, 2012, 5:35:21 PM
12/8/12
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-g...@googlegroups.com
いつもお世話になっております。
Gregと申します。
今回はButtonテキストのスタイルを途中で変える方法について、
質問させて下さい。
【やりたいこと】
Buttonの中のテキストを2段で表示して、
1段目と2段目でフォントスタイル・サイズを変更したい。
ListViewを2段で表示して各々フォントスタイルを変更する方法も考えましたが、
Buttonで実現することができないか現在模索しております。
よろしければ、お知恵を貸して下さい。
MORIHIRO
unread,
Dec 8, 2012, 9:30:24 PM
12/8/12
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-g...@googlegroups.com
文字列をHTML形式で設定してやれば混在はできますよ。
JavaからsetTextするなら android.text.Html.fromHtml() を使うとか。
2012年12月9日日曜日 7時35分21秒 UTC+9 Greg:
Greg
unread,
Dec 9, 2012, 10:21:59 PM
12/9/12
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-g...@googlegroups.com
>MORIHIRO様
いつもありがとうございます。
HTMLについての知識が乏しいので、
調べながら下記の方法について検討させて頂きます。
2012年12月9日日曜日 7時35分21秒 UTC+9 Greg:
Reply all
Reply to author
Forward
0 new messages