If you develop a mobile app user interface where native text input objects exist in the lower half of the screen, those objects are prone to being covered by the device’s keyboard. In this tutorial, we’ll explore a simple method to prevent this.
Tagged With: ui
Today’s tutorial demonstrates how to create a sliding panel that has many uses, ranging from games to business applications. Using just one core function, you can easily implement a wide variety of panels that appear from different sides of the screen and utilize unique easing transitions.
One feature that is requested in the feedback site is a “widget-based” text input field — one that allows for more “styling” than a device’s native input field. Until we can implement this feature, today’s tutorial gives you a foundation to build your own. Read further to learn how.
In Corona‘s graphics model, groups have been the workhorse way of organizing objects hierarchically. When you modify a group’s properties, the children are affected. For example, if you set the alpha on a group, then each child’s alpha is effectively multiplied by that alpha of the parent group.
The new graphics engine is going to have a new kind of group called a Container.