Hello,

What I could advise is to donwload the android source code. You have
the source of contact application.
It would help a lot !


On 26 nov, 14:03, Andriy Zakharchuk <[EMAIL PROTECTED]>
wrote:
> Hello all,
>
> I'm trying to implement a view similar to the Contact view (screen
> with a contact icon, name, favourite checkbox, dial number and send
> SMS actions) available in the Android emulator. And I'm interesting if
> there are any standard styles available for that. Particularly, I'm
> looking for:
>
> 1. Style for the header view (gray background where an icon and a
> contact name are displayed).
>
> Well, this probably is used only in Contacts application, so it may be
> not among system styles. But hopefully someone encountered smth like
> this.
>
> 2. Style for list section header (where Dial number, Send SMS/MMS text
> appears), it looks similar to window header. It seems I got smth close
> to that style with:
>
> TextView labelTitle = new TextView(MyActivity.this, null,
> android.R.attr.windowTitleBackgroundStyle);
> labelTitle.setTextAppearance(MyActivity.this,
> android.R.style.TextAppearance_WindowTitle);
>
> but background colour looks slightly different. Besides, there are two
> default style attributes are available:
> android.R.attr.windowTitleStyle and
> android.R.attr.windowTitleBackgroundStyle. First is responsible for
> the font size/colour another is responsible for the background. Is
> there any solution to apply them both using constructor only (without
> setting text appearance later)?
>
> And the last question, have anybody seen the list of all available
> styles in Android with images what do they look like?
>
> Thank you in advance.
--~--~---------~--~----~------------~-------~--~----~
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