Falcon4ever wrote:
> currently I am developing a chat like application.
> I would like to use a similar GUI as used in the IM app (Google talk /
> MSN).
> 
> As a beginner (in Android development) its quite difficult to
> recognize what GUI elements are used.
> 
> I made a photo of the IM (Gtalk) GUI:
> http://www.falcon4ever.com/chatscreen_items.jpg

BTW, you can use DDMS to take a screenshot of the actual Android
application screen, if you want.

> Hopefully someone can help me out and explain which how these elements
> are called.
> 
> My guesses:
> 1. A listview? (But how did they made it light pink/white depending on
> the text msg? They used special keywords?)

That is probably a ListView. You can control the formatting of
individual list Views by creating them yourself.

You can see examples of how to customize your ListViews, in the context
of custom ListAdapters, in my Fancy ListViews blog series over on
AndroidGuys:

http://androidguys.com/?s=fancy+listviews

Most of the earlier ones in the series are for the older M5 SDK, but the
concepts still hold. Also, forgive the formatting -- AndroidGuys updated
their WordPress theme and my older posts are a bit malformed as a result.

> 4. A background image? Is it part of the 'listview' or is the listview
> perhaps transparant somehow?

ListView, like most Views, supports android:background in layout XML (or
the counterparts in Java). Presumably, this is a background image on the
ListView.

> 5. Blue background, is it some kind of 'group' object or a rectangle
> object?

That is probably the horizontal LinearLayout, with a blue background.

> 6. Top bar, no clue how its called or how I can set the text.

That is your activity's title bar. Use Activity#setTitle() to set the text.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 1.9 Available!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to