[android-developers] Re: Margin-problem with changed layout for titlebar

2009-04-13 Thread elDoudou
As you are asking, please read http://developer.android.com/guide/developing/tools/hierarchy-viewer.html for the explanations about the hierarchy viewer. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Margin-problem with changed layout for titlebar

2009-04-10 Thread elDoudou
If you take a look at the hierarchy viewer, you will notice that the customized title is contained in a FrameLayout with id title_container, which has a left and right padding set to 7. I would be you, I'd try something like have a handle on your activity root view, ask for its parent (a

[android-developers] Re: Margin-problem with changed layout for titlebar

2009-02-14 Thread $§Kalle§$
I uploaded a screenshot, which shows the problem, I have with the changed titlebar http://hphone.eu/Android/Titlebar.html KalLe On 11 Feb., 21:09, $§Kalle§$ __kalle...@hphone.eu wrote: I am using the following Layout for thetitlebarwith a blue backround color RelativeLayout        

[android-developers] Re: Margin-problem with changed layout for titlebar

2009-02-14 Thread Marco Nelissen
On Wed, Feb 11, 2009 at 12:09 PM, $§Kalle§$ __kalle...@hphone.eu wrote: I am using the following Layout for the titlebar with a blue backround color RelativeLayout android:id=@+id/RelativeLayout01 xmlns:android=http://schemas.android.com/apk/res/android;

[android-developers] Re: Margin-problem with changed layout for titlebar

2009-02-14 Thread $§Kalle§$
Don't worry. I will not try to make my apps like Windows x.x. I just want to understand the changebale titlebar for the moment ;-) Here is the complete layout, which fits to the scrrenshot I mentioned. I do not think, that the icons caused the problem. ## ?xml version=1.0

[android-developers] Re: Margin-problem with changed layout for titlebar

2009-02-14 Thread Marco Nelissen
It's starting to look like your custom title layout is embedded in a container view that does additional padding. Not sure why it would do that, but if that's the case, you may have to request FEATURE_NO_TITLE instead, and then make your custom title part of the your layout. On Sat, Feb 14, 2009