Changes

Jump to: navigation, search
no edit summary
Create a new project in Android Studio, entering CommonGestures into the Application name field and ebookfrenzy.com as the Company Domain setting before clicking on the Next button.
On the form factors screen, enable the Phone and Tablet option and set the minimum SDK setting to API 8: Android 2.2 (Froyo). Continue to proceed through the screens, requesting the creation of a blank activity named CommonGesturesActivity with a corresponding layout and menu resource files named activity_common_gesturesand menu_common_gestures respectively.
Click on the Finish button to initiate the project creation process.
Once the new project has been created, navigate to the CommonGestures -> app -> src -> main -> res -> layout -> activity_common_gestures.xml file in the Project tool window and double click on it to load it into the Designer tool.
Within the Designer tool, double click on the Hello, World! TextView component and, in the property popup window, enter gestureStatusText as the ID. Finally, move the TextView so that it is positioned in the center of the display.
[[Image:android_studio_common_gesturesandroid_studio_common_gestures2.png|An Android common gesture detector example application running]]
Figure 22-1

Navigation menu