You can supposedly do some formatting of text in TextView (and
subclasses) by creating a Spanned object out of
android.text.HTML.fromHtml() and then doing setText with that Spanned
object.  The documentation's a little (OK, a lot) vague as to what
subset of HTML is supported, though.

On Oct 8, 10:05 am, scadaguru <[email protected]> wrote:
> I am trying to put CheckBox with multiple lines and all lines after
> fist with smaller font size same as
> we have under from home page Menu->Settings->Sound & Display->Silent
> mode.
> It shows text "Silent mode" on first line and then some more text
> (kind of help/current settings) for this option
> and still CheckBox itself is aligned in the center of all the lines
> (may be on left or right side).
> Is that can be done by only one control/widget or group of many
> controls/widgets?
>
> I can only think of by using table but it is complex. I tried
> android:contentDescription but it did not work. Looks like it is for
> accessibility.
> Any help will be appreciated.
> Thanks,
> JP

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to