fix android compatibility

* update attributes to match with those on android
* android support lib v4 as user library