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?
+6
A:
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:
- Download the Android SDK and follow the instructions to get the SDKs for various platforms (1.5, 1.6, 2.0.1)
- Install Eclipse (Eclipse Classic works)
- Install ADT
- Create a new Android project from the
samples/ApiDemos
directory in any of the platform-version folders inside the SDK. - Hook up your phone via USB and turn on USB debugging in Settings > Applications (or turn on an emulator)
- 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.
Roman Nurik
2009-12-23 05:25:58
+1 Agree with Roman.There is no exhaustive list(AFAIK); you will have to read the documentation and the samples bundled.
Samuh
2009-12-23 06:03:57
Also check out http://www.droiddraw.org and the 'Widget Guide'. It's not up-to-date but it's a fairly good resource.
Roman Nurik
2010-01-27 01:43:06