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§$ <[email protected]> wrote: > I am using the following Layout for thetitlebarwith a blue backround > color > > <RelativeLayout > android:id="@+id/RelativeLayout01" > xmlns:android="http://schemas.android.com/apk/res/android" > android:layout_width="fill_parent" > android:layout_height="fill_parent" > android:background="#ff000099"> > <TextView > android:id="@+id/TextView01" > android:layout_height="wrap_content" > android:text="@string/app_name" > android:textColor="#ffffffff" > android:textStyle="bold" > android:gravity="center_vertical" > android:layout_centerVertical="true" > android:layout_width="wrap_content"> > </TextView> > </RelativeLayout> > > In onCreate I got: > ... > requestWindowFeature(Window.FEATURE_CUSTOM_TITLE); > setContentView(R.layout.main); > getWindow().setFeatureInt(Window.FEATURE_CUSTOM_TITLE, > R.layout.title); > ... > > With that I get a changedtitlebarfor my HelloWorlApp, that is fine. > But somehow on the left and right side there is some margin and I > still can see some Grey from the originaltitlebar. > > What did I wrong? > > KalLe --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

