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.
- 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
- Open the
res/layout/main.xmlfile in an editor or IDE.
- Clear out the default code (leaving ...