public void addTag ( String tag ) { TagBubble tb = new TagBubble ( getContext ( ) ) ; tb . setText ( tag ) ; tb . setEditable ( editable ) ; tb . setOnRemoveTagListener ( bubbleClickListener ) ; tags . add ( tag . toString ( ) ) ; addView ( tb ) ; }
Adds and shows a new tag .