Contextual Action Bar text selection
<p>is there any way to add a custom contextual action bar when text is selected like this:</p>

<p><img src="http://i.stack.imgur.com/E3hSO.png" alt="enter image description here"></p>

<p>I have had a look around like here: <a href="http://developer.android.com/guide/topics/ui/menus.html#context-menu" rel="nofollow">http://developer.android.com/guide/topics/ui/menus.html#context-menu</a> </p>

<p>But it really doesn't have much information an the EditText selection. </p>

<p>I am using a physical Android 4.0.3 device so all the API is available to me.</p>

<p>Anyone have any ideas?</p>

<hr>

<p>Edit for anyone who wants to know how to do this I documented the code here</p>

<p><a href="http://www.droidoid.com/articles/183/text-selection-cab" rel="nofollow">http://www.droidoid.com/articles/183/text-selection-cab</a></p>
