Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What all basic android gui elements are available?

I wanted to know the gui elements we have in android? Can anyone show me a picture as well like how do these elements look like?

like image 245
Bohemian Avatar asked Dec 23 '09 05:12

Bohemian


1 Answers

This is what the ApiDemos sample application is for :-) You'll specifically want to check out the Views > Controls section for an activity that just shows common views.

To try out ApiDemos on an emulator or on your phone:

  1. Download the Android SDK and follow the instructions to get the SDKs for various platforms (1.5, 1.6, 2.0.1)
  2. Install Eclipse (Eclipse Classic works)
  3. Install ADT
  4. Create a new Android project from the samples/ApiDemos directory in any of the platform-version folders inside the SDK.
  5. Hook up your phone via USB and turn on USB debugging in Settings > Applications (or turn on an emulator)
  6. Build and run the ApiDemos project in Eclipse with your phone hooked up or your emulator running

There is also the Hello, Views set of tutorials, and that has some screenshots of views, as they look on older versions of Android.

like image 81
Roman Nurik Avatar answered Sep 19 '22 01:09

Roman Nurik