[android-developers] Re: TextView -- text transformation

2011-11-01 Thread Zsolt Vasvari
Ok, thanks.  Will check it out.

On Nov 1, 8:31 pm, Kostya Vasilyev  wrote:
> Or perhaps try something out with this:
>
> http://developer.android.com/reference/android/text/style/MetricAffec...
>
> "The classes that affect character-level text formatting in a way that
> changes the width or height of characters extend this class"
>
> Or this:
>
> http://developer.android.com/reference/android/text/style/Replacement...
>
> -- Kostya
>
> 01.11.2011 16:17, Miguel Morales ?:
>
>
>
>
>
> > Make it a custom webview and use html?
> > There's also spannable which lets you define things like clickable
> > links in text.  I believe it also supports html formatting.
>
> > On Tue, Nov 1, 2011 at 5:13 AM, TreKing  > > wrote:
>
> >     On Mon, Oct 31, 2011 at 11:08 PM, Zsolt Vasvari
> >     mailto:zvasv...@gmail.com>> wrote:
>
> >         Maybe you misunderstood me.  I am looking for a way for the
> >         TextView
> >         to draw the text differently based on my markups.
>
> >     Ohhh - Yeah, my idea won't work then =P . And I haven't
> >     tried anything like that so IDK.
>
> >     
> > ---­--
> >     TreKing  -
> >     Chicago transit tracking app for Android-powered devices
>
> >     --
> >     You received this message because you are subscribed to the Google
> >     Groups "Android Developers" group.
> >     To post to this group, send email to
> >     android-developers@googlegroups.com
> >     
> >     To unsubscribe from this group, send email to
> >     android-developers+unsubscr...@googlegroups.com
> >     
> >     For more options, visit this group at
> >    http://groups.google.com/group/android-developers?hl=en
>
> > --
> > ~ Jeremiah:9:23-24
> > Android 2D MMORPG:http://solrpg.com/,
> >http://www.youtube.com/user/revoltingx
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Kostya Vasilyev- Hide quoted text -
>
> - Show quoted text -

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


Re: [android-developers] Re: TextView -- text transformation

2011-11-01 Thread Kostya Vasilyev

Or perhaps try something out with this:

http://developer.android.com/reference/android/text/style/MetricAffectingSpan.html

"The classes that affect character-level text formatting in a way that 
changes the width or height of characters extend this class"


Or this:

http://developer.android.com/reference/android/text/style/ReplacementSpan.html

-- Kostya

01.11.2011 16:17, Miguel Morales ?:

Make it a custom webview and use html?
There's also spannable which lets you define things like clickable 
links in text.  I believe it also supports html formatting.


On Tue, Nov 1, 2011 at 5:13 AM, TreKing > wrote:


On Mon, Oct 31, 2011 at 11:08 PM, Zsolt Vasvari
mailto:zvasv...@gmail.com>> wrote:

Maybe you misunderstood me.  I am looking for a way for the
TextView
to draw the text differently based on my markups.


Ohhh - Yeah, my idea won't work then =P . And I haven't
tried anything like that so IDK.


-
TreKing  -
Chicago transit tracking app for Android-powered devices


-- 
You received this message because you are subscribed to the Google

Groups "Android Developers" group.
To post to this group, send email to
android-developers@googlegroups.com

To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com

For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en




--
~ Jeremiah:9:23-24
Android 2D MMORPG: http://solrpg.com/, 
http://www.youtube.com/user/revoltingx

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


--
Kostya Vasilyev

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

Re: [android-developers] Re: TextView -- text transformation

2011-11-01 Thread Miguel Morales
Make it a custom webview and use html?
There's also spannable which lets you define things like clickable links in
text.  I believe it also supports html formatting.

On Tue, Nov 1, 2011 at 5:13 AM, TreKing  wrote:

> On Mon, Oct 31, 2011 at 11:08 PM, Zsolt Vasvari wrote:
>
>> Maybe you misunderstood me.  I am looking for a way for the TextView
>> to draw the text differently based on my markups.
>>
>
> Ohhh - Yeah, my idea won't work then =P . And I haven't tried
> anything like that so IDK.
>
>
> -
> TreKing  - Chicago
> transit tracking app for Android-powered devices
>
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
~ Jeremiah:9:23-24
Android 2D MMORPG: http://solrpg.com/,
http://www.youtube.com/user/revoltingx

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

Re: [android-developers] Re: TextView -- text transformation

2011-11-01 Thread TreKing
On Mon, Oct 31, 2011 at 11:08 PM, Zsolt Vasvari  wrote:

> Maybe you misunderstood me.  I am looking for a way for the TextView
> to draw the text differently based on my markups.
>

Ohhh - Yeah, my idea won't work then =P . And I haven't tried
anything like that so IDK.

-
TreKing  - Chicago
transit tracking app for Android-powered devices

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

[android-developers] Re: TextView -- text transformation

2011-10-31 Thread Zsolt Vasvari
Maybe you misunderstood me.  I am looking for a way for the TextView
to draw the text differently based on my markups.

On Nov 1, 10:57 am, TreKing  wrote:
> On Mon, Oct 31, 2011 at 9:37 PM, Zsolt Vasvari  wrote:
> > What I want to do is have an EditText (or TextView) where I want to do a
> > text replacement for display purposes only.
>
> > Any ideas?
>
> Off the cuff, I'd say Map, original string being first,
> display string being second.
>
> ---­--
> TreKing  - Chicago
> transit tracking app for Android-powered devices

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