Nope .
Actually I created layout "custom_title_2" for my title bar and I added
below code in my activity class


requestWindowFeature(Window.*FEATURE_CUSTOM_TITLE*);

setContentView(R.layout.*custom_title_1*);

*this*.getWindow().setFeatureInt(Window.*FEATURE_CUSTOM_TITLE*, R.layout.*
custom_title_2*);

--Rajesh



2010/7/27 Tiger <[email protected]>

> Did you use "android:label="My Title" in the xml ?
>
> On 7月27日, 下午5时44分, Rajesh Pelluru <[email protected]> wrote:
> > Hi,
> >     I have below requirement :
> >              App name is App1.
> >             Activity name is Activity1.
> > But I want to display title bar of the Activity1 as "MyTitle"
> > If i try to do that one , App1 appears for few seconds after that
> "MyTitle"
> > is displaying in the title bar.
> > I don't want to display App1 in my title bar.Any one of us can help me to
> do
> > above one.
> >
> > --Rajesh
>
> --
> 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