Browse Category: NewProject


Designing layouts – 3

We can use Linear and Relative Layouts for defining few set of views under it. When it comes to show many number of views inside the layout, the layout should have scrolling capability to show all the views. ScrollView is such type of layout that helps in defining such functionality. Unlike other layouts, ScrollView helps user to scroll across all the views present inside it.

Below code will show it as parent layout inside the XML file Continue Reading

470 total views, 3 views today


Designing layouts – 2

Well as in the previous tutorial, LinearLayout helps in designing our Login screen. Here we shall use RelativeLayout for the same. Unlike LinearLayout, RelativeLayout is not bound by the orientation, rather it manages views under it relatively. It means, the views are arranged relative to each other in the direction they are placed. The attribute orientation does not work with RelativeLayout.

We shall use the same set of Views to define our layout:

Continue Reading

511 total views, 1 views today


Designing layouts – 1

Well its cool that every awesome user interface design of mobile app is made using XML. In android, a good layout design is all about arranging XML tags meaningfully. The more meaningfully placed, the more beautiful the layout design will be. In our daily routine of app usage, we come across many number of app screens. Every screen is nothing but an XML file containing XML tags. Hence, here we shall learn about designing layouts meaningfully.

Every layout is nothing but a single or multiple XML files

Continue Reading

408 total views, no views today


Project structure

New project in android studio is very well organized into set of modules. Each module represents each form factor (Phone, wear, etc..). We can deal with each form factor individually to build independent features for them. Lets know about android project structure of Android Studio.

You can clearly observe towards the left side of the Android Studio. ‘Project’ window shows the files of the current project. The complete project file structure can be viewed in different perspectives listed below: Continue Reading

399 total views, no views today


New Project

Studio, it is a cool interface, which helps us in creating, developing, building, running, publishing our android application. The first key point to remember is that, an android app in your phone is nothing but just an .apk file that is installed and running. So the android project we create will have .apk as final deliverable.

An android project can have more than one .apk deliverables, which support different versions of android and different devices across the globe.

Our aim is to develop an app which displays “Hello Android” text on the screen. Continue Reading

458 total views, no views today