Time for action - creating the robotic review project structure

To start this example we'll need a new project with a new Activity. The new layout and Activity will be a little different from the structures in the previous two chapters. We will need to use the FrameLayout class in order to build a tabbed layout. So to begin, we'll create a new project structure and start off with a skeleton that will later become our tab layout structure. This can be filled with the three content areas.

  1. Create a new Android project using the Android command-line tool:
    android create project -n RoboticReview -p RoboticReview -k com.packtpub.roboticreview -a ReviewActivity -t 3
  2. Open the res/layout/main.xml file in an editor or IDE.
  3. Clear out the default code (leaving ...

Get Android User Interface Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.