Duygu Kahraman wrote:
> I will do some dinamic actions.so i dont want with xml and i want to learn
> this way
>
> 13 Aralık 2011 17:33 tarihinde skink <psk...@gmail.com> yazdı:
>
> >
> >
> > Duygu Kahraman wrote:
> > > I want to add a button in titlebar .I googled but all code is with
> > > xml.I want to do programmatically.Can anybody get some reference or
> > > code snippet ?
> > >
> > > Can anybody help me?
> > >
> > > THX.
> > >
> > > Duygu Kahraman
> >
> > whats wrong with setting the custom title as an xml resId?
> >
> > define your title as e.g. LinearLayout, get its reference with
> > findViewById and do whatever you want with it
> >
> > pskink
> >
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscr...@googlegroups.com
> > For more options, visit this group at
> > http://groups.google.com/group/android-developers?hl=en
> >
>
>
>
> --
> ---
> Duygu Kahraman
>
> http://tr.linkedin.com/in/duygukahramann

you already got the answer: even you define your custom title in xml
layout file you can add/remove/modify its cintent as you wish

pskink

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

Reply via email to