Once you have a good wireframe to work from, you'll want to start developing the user interface screen. For this, we'll use Android Studio and its wonderful layout editor.
Since this is a brand new project, you'll need to open Android Studio and use File|New |New Project to get it started. Then, follow these steps:
Name the project Claim, and leave any non-Java support turned off.
Target Android 4.1 on Phone & Tablet only.
In the Activity Gallery, choose the Basic Activity:
Name the new Activity CaptureClaimActivity, and then change the title to Capture Claim. Leave the other parameters at their default values:
Finish the New Project wizard, and wait for the project to be generated.
When the project has been generated and synchronized, Android Studio will open the content_capture_claim.xml file in its layout editor.
By default, Android Studio assumes that you will be using a ConstraintLayout as the root of your layout. This is an incredibly powerful and flexible tool, but also not well suited as the root element of this user interface. You'll need to switch over to the Text view at the bottom of the screen in order to change to something more suitable:
The file will currently have something like the following XML in place:
Change the ConstraintLayout to a simple LinearLayout. LinearLayout is one of the simplest layouts available on Android. It renders each of its children in a straight line, either horizontal or vertical, depending on its orientation attribute. Replace the whole of the content_capture_claim.xml file with the following content:
Choosing the right layout to use is about more than just keeping your code simple; less flexible layouts are much faster at runtime and lead to a much smoother user experience. Try to stick to simpler layouts where possible, but also avoid nesting layouts too deep (one inside the other), as this also leads to performance problems.
Change back to the Design view in the layout editor, and you'll notice that the Component Tree to the left of the design view now has a LinearLayout (vertical) as its only component.