Thank you for the reply. So I was looking in the right place. Well, my
task was to display a title-like text in the activity. I couldn't find
a suitable style for it so I used android:backgroud="@android:drawable/
title_bar", as I found in [platform/packages/apps/Contacts.git] /
res / layout-finger / view_contact.xml in the Android git, plus a few
hand-coded things like color and text size. If there's a better way to
do it, please let me know. Thanks.

On Sep 20, 7:45 am, Dianne Hackborn <[email protected]> wrote:
> R.style contains all of the public styles.  If it isn't in there, it isn't
> public.
>
> On Sat, Sep 19, 2009 at 4:07 PM, Felix Oghina <[email protected]>wrote:
>
>
>
>
>
> > Where can I find default styles for my widgets? Let me give you an
> > example. In the Contacts application, when adding a new contact, at
> > the very bottom there are two buttons that have a particular
> > background. I have traced that to here:
>
> >http://android.git.kernel.org/?p=platform/packages/apps/Contacts.git;...
> > and it would seem that that background is achieved by using
> > style="@android:style/ButtonBar" on a LinearLayout. From what I
> > understand, this is a system-wide theme default for button bars.
> > However, what I am searching for is not a ButtonBar, but similar, so I
> > tried searching for this ButtonBar in the documentation, hoping to
> > find other similar styles I could use. I *thought* I would find it in
> > R.style:http://developer.android.com/reference/android/R.style.html,
> > but it seems I have mistaken. It is not there. Can anyone tell me
> > where I can find such styles?
>
> --
> Dianne Hackborn
> Android framework engineer
> [email protected]
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.
--~--~---------~--~----~------------~-------~--~----~
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