infinitered / bluepotion

Like RedPotion, but for Android
MIT License
74 stars 18 forks source link

com.rubymotion.NoMethodError: undefined method `gravity=' for <RMQViewStyler| #116

Open gregmolnar opened 8 years ago

gregmolnar commented 8 years ago

I am getting the above error with the starter app if I try to set the gravity. I looked into the code and wrote a spec to test the gravity= method, but it seems to be broken. I am new to Android, so I might be totally wrong, but by the looks of it, the layout_params used in RMQViewStyler is an instance of Android::View::ViewGroup::LayoutParams but that doesn't seem to implement gravity, rather one of it's subclasses does.