Sorry, the links of images were bad:

https://picasaweb.google.com/109616049711402953088/Dev?authuser=0&feat=directlink


On Nov 2, 1:16 pm, bt <barta...@gmail.com> wrote:
> Hi,
>
> I try to create custom header for my activity but I have problems with
> it.
> My activity has a "Theme.Dialog" theme so normally looks like it:
>
> https://picasaweb.google.com/lh/photo/Q4RtmPYjkVEL2NXzV9lC8Q?feat=dir...
>
> When I call
>
> requestWindowFeature(Window.FEATURE_CUSTOM_TITLE);
>
> on the onCreate method of my activity (before setContentView) then it
> changes header
> but it makes a padding around the content of my activity. The activity
> background is white
> so I don't know what is this black padding, why it is shown when I
> would like to set
> custom header and how to remove it:
>
> https://picasaweb.google.com/lh/photo/aPD_vygbcUioZNMoTkhOKQ?feat=dir...
>
> It doesn't matter if I set a layout for the header or not.
>
> Thanks,
> Tamás

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