Hello Form Stuff

This page introduces a variety of widgets, like image buttons, text fields, checkboxes and radio buttons.

1. Start a new project/Activity called HelloFormStuff.

2. Your layout file should have a basic LinearLayout:

<?xml version="1.0" encoding="utf-8"?>

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout width="fill parent" android:layout_height="fill_parent" >


For each widget you want to add, just put the respective View inside here.

Tip: As you add new Android code, press Ctrl(or Cmd) + Shift + O to import all needed packages.

0 0

Post a comment