UiBinder fixes for Android

Fix things to make UiBinder work with Android.