New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated tiapp.xml for deprecated elements #4726
Conversation
Code reviewed and looks good! |
If it was up to me I'd also add "dp" as the default unit as well as some other sensible defaults like the android restart bug workaround. |
@FokkeZB Dumb question, but does iOS support "dp" or is it "dip" or both? I'm definitely open to hear what other defaults you think should be set. I have a soft spot for sensible defaults. :) |
According to http://docs.appcelerator.com/titanium/latest/#!/guide/Transitioning_to_the_New_UI_Layout_System-section-30088148_TransitioningtotheNewUILayoutSystem-UniversalUnitSupport you can use either |
I've added two defaults I always set. I also always set |
@FokkeZB I sent an email out to the entire team and it seems all the professional services guys always set the default the unit to "dp". They didn't think we should change the default orientation settings for iOS (I was just curious if what we have now makes sense). will have no effect in Titanium SDK 3.1.3 (or newer) on iOS 7, so it may make sense to change the default value from false to true, but we haven't fully understood the side effects. I'm still waiting for more feedback. |
I left the deprecated settings that now fall under |
We just had a meeting and we agree that the default unit should be We decided to NOT set The Furthermore, we will want to add We're still researching the side effects of changing We will want to update all of our samples (downloaded from Studio) to use these new best practices. |
Good to see its fixed, unfortunate you couldn't use my PR ;) And why will |
Great question! I have no idea. I know they changed the behavior in the Android code today. Not sure what. Check it out here: https://jira.appcelerator.org/browse/TIMOB-15484. |
Yeah, I just saw the default is now set in the code, so it doesn't matter having it in tiapp.xml: https://github.com/appcelerator/titanium_mobile/pull/4975/files |
We decided it was better to update the default behavior than force it into the tiapp.xml. |
Now conform http://docs.appcelerator.com/titanium/latest/#!/guide/tiapp.xml_and_timodule.xml_Reference
JIRA: https://jira.appcelerator.org/browse/TIMOB-14620