Remove the tab slider, and go back to simply using a touchable title bar.
Remove the tab slider (TitleBarSet) from eclair.
In TitleBar, override onTouchEvent to handle touches as either presses
of the right button or the textfield. Fix the press states on the
title bar to correctly reflect what will happen if you release your
finger.
Change-Id: I025b55e5ba546e8be4e9360e6f7db80fb6d9d3f9
diff --git a/res/layout/title_bar.xml b/res/layout/title_bar.xml
index ddfcd6e..e97bed0 100644
--- a/res/layout/title_bar.xml
+++ b/res/layout/title_bar.xml
@@ -39,8 +39,8 @@
android:orientation="horizontal"
>
- <LinearLayout
- android:background="@*android:drawable/textfield_default"
+ <LinearLayout android:id="@+id/title_bg"
+ android:background="@*android:drawable/edit_text"
android:layout_width="0dip"
android:layout_weight="1.0"
android:layout_height="wrap_content"