mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 734880: Bottom center area in tabs-tray should consume clicks. [r=mfinke]
This commit is contained in:
parent
e5c84b3aae
commit
d5996d9ad4
@ -72,6 +72,13 @@ public class TabsTray extends Activity implements Tabs.OnTabsChangedListener {
|
||||
}
|
||||
});
|
||||
|
||||
RelativeLayout toolbar = (RelativeLayout) findViewById(R.id.toolbar);
|
||||
toolbar.setOnClickListener(new Button.OnClickListener() {
|
||||
public void onClick(View v) {
|
||||
// Consume the click event to avoid enclosing container consuming it
|
||||
}
|
||||
});
|
||||
|
||||
LinearLayout container = (LinearLayout) findViewById(R.id.container);
|
||||
container.setOnClickListener(new Button.OnClickListener() {
|
||||
public void onClick(View v) {
|
||||
|
@ -20,7 +20,8 @@
|
||||
android:layout_height="2dp"
|
||||
android:background="@drawable/tabs_tray_list_divider"/>
|
||||
|
||||
<RelativeLayout android:layout_width="fill_parent"
|
||||
<RelativeLayout android:id="@+id/toolbar"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="50dip"
|
||||
android:background="@drawable/tabs_tray_bg_repeat">
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user