BusyBird-Input-Feed

 view release on metacpan or  search on metacpan

t/samples/stackoverflow.atom  view on Meta::CPAN


//--save to string--
Editable e = et.getText();
String s2 = Html.toHtml(e);

//--restore from string--
Spanned s3 = Html.fromHtml(s2);
et.setText(s3);
</code></pre>

<p>src: <a href="https://stackoverflow.com/questions/20992922/copy-to-clipboard-using-commonsware-cwac-richedit-library">Copy to clipboard using commonsware cwac-richedit library</a></p>

<p><strong>The Problem:</strong></p>

<p>I have to apply Bold, Italic, underline, strikethrough, font, Center Align, Left Align, Right Align, Justified,...etc to selected text on click of a button in a tool bar different than an action bar button. Is there any way I can place the e...

<p>It would be really helpfull if some one can tell he how to add any one effect to a selected text on click of a button. I saw the following method but not sure what is T value.</p>

<pre><code>myRichEditText.applyEffect(effect, value);
</code></pre>



( run in 1.000 second using v1.01-cache-2.11-cpan-84e82930d8c )