Grokking Android

Getting Down to the Nitty Gritty of Android Development

Posts tagged “QuickTip”:

Android Quick Tip: Formatting Text with Html.fromHtml()

By

Android offers you the possibility to easily format text with HTML markup. Thus it’s easy to create text like this: You probably are going to use bold or italics the most, but there are many more supported. Here is the list of all supported tags. You can find it in the source of android.text.Html’s inner […]  Continue Reading  “Android Quick Tip: Formatting Text with Html.fromHtml()”

How Android’s AutoCompleteTextView Nearly Drove me Nuts

By

AutoCompleteTextView is a nice widget Android provides. It helps the user enter text by presenting him possible selections based on what he has entered so far. Nicolas Klein has written a nice introduction of AutoCompleteTextView. As a short recap: You have to provide a ListAdapter that also must implement the Filterable interface. The filterable adapter […]  Continue Reading  “How Android’s AutoCompleteTextView Nearly Drove me Nuts”