this.requestWindowFeature(Window.FEATURE_CUSTOM_TITLE);
        RelativeLayout titleLayout = (RelativeLayout)
getLayoutInflater().inflate(R.layout.iocn,null);
        try {
            int titleContainerId = (Integer)
Class.forName("com.android.internal.R$id").
                                getField("title_container").get(null);
            ((ViewGroup)
getWindow().findViewById(titleContainerId)).addView(titleLayout);
        }catch(Exception e){ }


On Sat, May 1, 2010 at 1:10 PM, subrat kumar panda <
[email protected]> wrote:

> Hi all,
> In my app i want to set the logo in the
> title bar. but depending upon the size of the device how could
> it be set , so it may  be  dynamically possible.
>
> if anybody knows the solution regarding the problem
> please help me.
>
> Thanks in advance,
>
> Best Regards
> Subrat Kumar Panda
> India
>
> --
> 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