Adding Info Dialog to Android App

This is how simple adding a dialog is to Android:

Getting image in the Middle of a div

I took me about 15 min to find a way of centering image in the middle of a div. In the end I ended up with a code like this: