Once we obtain the translation results, we need to display them. The design says that we can have a separate view for this, which slides in to display the entry view. A scene seems like a good fit for each of these views; we'll create one that stores the various text elements of the translation in the rows of a table view.
scenetemplate.lua file in the project directory to a new file named
result.lua and open it.
The design says that this display will contain a list of the text and its translation, and a bar with a button to return to the previous view. We want the button bar to appear above the table, but simply creating a table view and placing a rectangle above it runs into a snag; while ...