Re: cordova-android LinearLayout vs. RelativeLayout

2014-05-19 Thread Anis KADRI
I just want to add that it's rather annoying, dirty and hacky but possible to switch from the default LinearLayout to RelativeLayout. Example: https://gist.github.com/imhotep/3d33f262dfe355d2b4b5 I used that for one of my android plugins. On Thu, May 15, 2014 at 3:35 PM, Joe Bowser wrote: > O

Re: cordova-android LinearLayout vs. RelativeLayout

2014-05-16 Thread Lisa Seacat DeLuca
uca Mobile Engineer | t: +415.787.4589 | ldel...@apache.org | | ldel...@us.ibm.com | lisaseacat.com | | From: Andrew Grieve To: dev Date: 05/15/2014 12:12 PM Subject: Re: cordova-android LinearLayout vs. RelativeLayout Sent by:agri...@google.com Is it that you think Li

Re: cordova-android LinearLayout vs. RelativeLayout

2014-05-16 Thread Joe Bowser
On Wed, May 14, 2014 at 5:54 PM, Andrew Grieve wrote: > Is it that you think LinearLayout is the best default Layout? Or is it that > you don't want to make a non-backwards-compatible change? > It's definitely 80% the latter. You're forgetting the "I think that RelativeLayout could cause weird th

Re: cordova-android LinearLayout vs. RelativeLayout

2014-05-15 Thread Andrew Grieve
Is it that you think LinearLayout is the best default Layout? Or is it that you don't want to make a non-backwards-compatible change? Be happy to stick this on the "should do for 4.0" list (it's not urgent by any means). But if you're arguing for LinearLayout being a better option, then I'd like t

Re: cordova-android LinearLayout vs. RelativeLayout

2014-05-14 Thread Andrew Grieve
I think Lisa's reasons make sense. True, you can make your own Activity, but there's a lot of value in not requiring this. iOS has one level of indirection for the UIWebView (it lives in a generic UIView), and that allows the exact use-case that is being discussed here. On Wed, May 14, 2014 at 1

Re: cordova-android LinearLayout vs. RelativeLayout

2014-05-14 Thread Joe Bowser
I disagree. iOS is not Android and doesn't have to deal with the Android life cycle or intents. I don't think supporting extending CordovaActivity is a good idea, especially considering other libraries that the view may be used with will also be extending the Activity. If people want to do Andr

Re: cordova-android LinearLayout vs. RelativeLayout

2014-05-13 Thread Joe Bowser
Ok, here's my opinion on LinearLayout vs RelativeLayout and why I closed the bug as "Won't Fix" 1. We went with LinearLayout because it was the easiest at the time. We experimented with FrameLayout as well, and decided to stick with LinearLayout because it was the easiest to setup programmaticall