Update assets for new tab.
Also remove the old one and an obsolete file which references it.
Fixes http://b/issue?id=2099961
Change-Id: I92e08fcc07826d5bde7ddb87c71932de2e01b778
diff --git a/res/drawable-hdpi/ic_list_new_window.png b/res/drawable-hdpi/ic_list_new_window.png
new file mode 100644
index 0000000..e5e4645
--- /dev/null
+++ b/res/drawable-hdpi/ic_list_new_window.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_menu_new_window.png b/res/drawable-hdpi/ic_menu_new_window.png
new file mode 100644
index 0000000..fa544fc
--- /dev/null
+++ b/res/drawable-hdpi/ic_menu_new_window.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_list_new_window.png b/res/drawable-mdpi/ic_list_new_window.png
new file mode 100644
index 0000000..61c3e63
--- /dev/null
+++ b/res/drawable-mdpi/ic_list_new_window.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_menu_new_window.png b/res/drawable-mdpi/ic_menu_new_window.png
new file mode 100644
index 0000000..7fb9948
--- /dev/null
+++ b/res/drawable-mdpi/ic_menu_new_window.png
Binary files differ
diff --git a/res/drawable/ic_add_tab.png b/res/drawable/ic_add_tab.png
deleted file mode 100644
index 5585a54..0000000
--- a/res/drawable/ic_add_tab.png
+++ /dev/null
Binary files differ
diff --git a/res/layout/new_window_button.xml b/res/layout/new_window_button.xml
deleted file mode 100644
index af0a4bd..0000000
--- a/res/layout/new_window_button.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2009 The Android Open Source Project
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<!-- android:background="@drawable/browser_tab_unselected" -->
-
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="wrap_content"
- android:layout_height="fill_parent"
- >
- <ImageView android:id="@+id/button"
- android:src="@drawable/ic_add_tab"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- />
-</LinearLayout>
diff --git a/res/layout/tab_view_add_tab.xml b/res/layout/tab_view_add_tab.xml
index d8c5500..0752a84 100644
--- a/res/layout/tab_view_add_tab.xml
+++ b/res/layout/tab_view_add_tab.xml
@@ -26,7 +26,7 @@
android:layout_height="40dip"
android:layout_marginLeft="8dip"
android:layout_marginRight="8dip"
- android:src="@drawable/ic_add_tab"/>
+ android:src="@drawable/ic_list_new_window"/>
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
diff --git a/res/menu/browser.xml b/res/menu/browser.xml
index c2814c8..4a73261 100644
--- a/res/menu/browser.xml
+++ b/res/menu/browser.xml
@@ -20,7 +20,7 @@
android:alphabeticShortcut="r" />
<item android:id="@+id/new_tab_menu_id"
android:title="@string/new_tab"
- android:icon="@drawable/ic_add_tab"
+ android:icon="@drawable/ic_menu_new_window"
android:alphabeticShortcut="n" />
<item android:id="@+id/active_tabs_menu_id"
android:title="@string/active_tabs"