in my app i replaced the window title with a custom graphic, but no 
matter what i set the title layout's parameters to, i get a few px of 
grey border at the left, right, and bottom. is there any way to get 
rid of it?

(i'd just take the title away and replace with a graphic, which looks 
fine, but my app has a TabActivity and AFAIK i can't put a graphic 
above the tabs. if someone knows a solution to this (too), then 
great.)

layout --

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
        xmlns:android="http://schemas.android.com/apk/res/android";
        android:orientation="horizontal"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        background="#000000"
        >
        <ImageView
                android:src="@drawable/masthead_logo"
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:layout_alignParentLeft="true"
                android:layout_alignParentTop="true"
        />
</LinearLayout>

activity source --

Window  window = getWindow ();
window.requestFeature (Window.FEATURE_CUSTOM_TITLE);

setContentView (R.layout.contacts_view);

window.setFeatureInt (Window.FEATURE_CUSTOM_TITLE, R.layout.title);


ta muchly
-- 
jason.vp.engineering.particle

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