The new inputType allows you to the specifically allow only numbers or numbers and text. It will automatically override the right keyboardType for you.
The sample allows you to enable either or both input types to see the effect.
Ti.Android.Intent.putExra() now accepts an intent or icon. Among other possible use cases, this allows you to create an intent to install additional launch shortcuts for specific activities within your app, each with a unique icon, title and extras to identify the desired action.
NOTE: It’s a known issue that if the app is running in the background, there is no way to know which intent (e.g. a launch shortcut) caused it to resume.
Ti.UI.TableView.separatorStyle was already supported for iOS and MobileWeb, but now you can hide the separator line on Android as well.
Tap anywhere in the Sample’s TableView to toggle the style.
NOTE: Support for ListView is yet to be added.
Fullscreen Splash Image
If you set the
<fullscreen> option in tiapp.xml to
true this will now show the splash image fullscreen. The Android top status bar and bottom soft navigation bar will be hidden:
Be aware that this will also default your app to use the
Theme.AppCompat.NoTitleBar.Fullscreen theme introduced in 5.0. If you want a fullscreen splash image but still show the status bar and Action Bar in the app itself, you will have to manually set the theme. The sample app uses a custom theme, but you can also use the default like this:
<android xmlns:android="http://schemas.android.com/apk/res/android"> <manifest> <application android:theme="@style/Theme.AppCompat" /> </manifest> </android>
Finally, I’d like to remind you again of some properties and methods that we have deprecated and renamed to improve the consistency of our API. The old ones will be removed in Titanium 6.0.
Code Strong ?