Click here to Skip to main content
13,092,862 members (72,815 online)
Click here to Skip to main content
Add your own
alternative version


14 bookmarked
Posted 24 Aug 2014

Android UI Layout and Controls

, 24 Aug 2014
Rate this:
Please Sign up or sign in to vote.
In this tutorial, I will go over many of the Android UI Layouts and Controls. Providing a few examples I will bring you step by step through creating, and implementing these to the completion of an Android Application.


This step by step guild is packed full of screen shots to guide you in the journey of learning about the different Android UI Layouts and Controls and how to use them in an application. Ready to code?  


This tutorial was made using Windows 8, Eclipse Platform 4.2.2 and the Android ADK 

Lets learn...

Step 1:  Definitions and Basic Components













Step 2:  Create a Relative Layout with some UI elements




















Step 3:  Change to LinearLayout with the same UI elements and two other layouts
























Step 4:  Code using the current UI Layouts and Controls












Step 5:  Add an include Other Layout with a UI Control








Step 6:  Add code for our newly added UI Control and run our application









Points of Interest

When I started this tutorial I had never used a ProgressBar, RatingBar, or SeekBar before, so I learned quite a bit through the process of creating it. :)  




This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Julie Bartolf
United States United States
No Biography provided

You may also be interested in...


Comments and Discussions

GeneralMy vote of 5 Pin
mrmike19-Nov-14 8:12
professionalmrmike19-Nov-14 8:12 
GeneralGood artical Pin
Member 108825777-Sep-14 3:36
memberMember 108825777-Sep-14 3:36 
GeneralThanks for the entry! Pin
Kevin Priddle27-Aug-14 6:12
staffKevin Priddle27-Aug-14 6:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.170813.1 | Last Updated 25 Aug 2014
Article Copyright 2014 by Julie Bartolf
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid