There“s an issue regarding this:
http://code.google.com/p/android/issues/detail?id=4395
Star it!

2009/12/7 justinh <[email protected]>

> What "isn't working" about it? Does it stay left-justified? Does it
> remove all formatting totally?
>
> It seems as though not all of the different style tricks are
> implemented, another one being android:preferenceCategoryStyle that I
> ran into recently. I think the framework engineers have left them at a
> lower priority to work on more important features.
>
> You could always remove the title and insert your own if you really
> wanted to.
>
> On Dec 7, 9:52 am, rags <[email protected]> wrote:
> > Hi All,
> > Am trying to use a theme to my screen as below.
> >   <style name="MyTheme" parent="android:Theme.Light">
> >         <item name="android:windowNoTitle">false</item>
> >         <item name="android:windowTitleStyle">@style/header_style</
> > item>
> >      </style>
> >
> > In custom header style(Which is applied to the window title style) am
> > trying to use, <item name="android:gravity">center</item> so that the
> > header text will appear in between the Header area. This is not
> > working ..I have tried  <item name="android:layout_gravity">center</
> > item> as well,, but no luck so far..
> >
> > Could anybody please help me on this item?
> >
> > Thanks.
> >
> > Regards,
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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