Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
CAN-SPAN?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
bob  
View profile  
 More options Jul 31 2012, 2:10 pm
From: bob <b...@coolfone.comze.com>
Date: Tue, 31 Jul 2012 11:10:35 -0700 (PDT)
Local: Tues, Jul 31 2012 2:10 pm
Subject: CAN-SPAN?

I'm trying to learn about SpannableStrings, and it is boiling down to this
setSpan method:

http://developer.android.com/reference/android/text/SpannableString.h...,
int, int, int)

However, of course, the method is completely undocumented, and it is not
clear what ought to be passed into the first
parameter.  Am I missing something here, or did they just forget to write
this?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nobu Games  
View profile  
 More options Jul 31 2012, 2:20 pm
From: Nobu Games <dev.nobu.ga...@gmail.com>
Date: Tue, 31 Jul 2012 11:20:27 -0700 (PDT)
Local: Tues, Jul 31 2012 2:20 pm
Subject: Re: CAN-SPAN?

As far as I understand the first argument: it is whatever object you want
to use for tagging that span of text. It's up to your app to come up with
the right interpretation. If you want to use the span for formatting you
can use one of the CharacterStyle<http://developer.android.com/reference/android/text/style/CharacterSt...>objects as first argument.

Here is a tutorial about rich style formatting with spannable strings:
http://www.chrisumbel.com/article/android_textview_rich_text_spannabl...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »