Android LinearLayout example


What is Android layout?

Layout denotes the architecture of the application, where and how the controls should be organized in the UI.It defines the layout structure and holds all the elements that appear to the user.

Android allows us to create layouts for the applications using simple XML file and those layouts must be placed in /res/layout folder.

We can declare the layout in two ways and here we will discuss first way of doing it:

  1. Declare UI elements in XML
  2. Create UI elements at runtime using Java.

Android TableLayout example


What is Android layout?

Layout denotes the architecture of the application, where and how the controls should be organized in the UI.It defines the layout structure and holds all the elements that appear to the user.

Android allows us to create layouts for the applications using simple XML file and those layouts must be placed in /res/layout folder.

We can declare the layout in two ways and here we will discuss first way of doing it:

  1. Declare UI elements in XML
  2. Create UI elements at runtime using Java.

How to import android project in eclipse


I sensed from the comments and mails.that developers are facing problem in importing existing Android project to Eclipse I decided to write a separate post on it which just discuss about how to import android project in eclipse.

I have also discussed the trouble shooting procedures to be followed when you face issues in importing Android project.

Tiếp tục đọc