Archive for June, 2011

Alert Dialog – Part 2

Friday, June 24th, 2011

In the last article we began styling an AlertDialog, but ran in to problems because Android does not apply text styles to AlertDialogs. In this article we’ll explore how we can overcome this problem.


Alert Dialog – Part 1

Friday, June 17th, 2011

Recently there was a comment on the article Vector Drawables – part 3 asking if is possible to style an AlertDialog, rather than on an Activity, as is covered in that article. The simple answer is yes. However, it is not without it’s problems as we’ll see later.


Custom Controls – Part 3

Friday, June 10th, 2011

In the previous article we continued the creation of a custom control and extended it to enable us to configure it via the XML layout rather than only programatically. In this article we’ll cover extending the control further so that we can properly style and theme it.


Custom Controls – Part 2

Thursday, June 2nd, 2011

In the previous article we created a custom control which applies highlights to our text based upon a regular expression. We got this working so that we could control it programatically. In this article we’ll look at how to control things from the XML layout.