summaryrefslogtreecommitdiffstats
path: root/res/layout-land
diff options
context:
space:
mode:
authorMichael Kolb <kolby@google.com>2010-07-08 15:41:55 -0700
committerMichael Kolb <kolby@google.com>2010-07-27 13:28:43 -0700
commitfe25199a6f975c67d28afcc1de56b0f987b66cd8 (patch)
treef505e4b04283a2e26d32091648ae7a4c3c0d7664 /res/layout-land
parentb4b83182219908210d4554466367736692faf6ce (diff)
downloadpackages_apps_browser-fe25199a6f975c67d28afcc1de56b0f987b66cd8.zip
packages_apps_browser-fe25199a6f975c67d28afcc1de56b0f987b66cd8.tar.gz
packages_apps_browser-fe25199a6f975c67d28afcc1de56b0f987b66cd8.tar.bz2
tabbed title bar work
bug # http://b/issue?id=2712871 added tab bar added tab status callbacks to Tab and TabControl added compact progress/stop/refresh button added UrlInputView for auto-complete suggestions modified BrowserProvider for url input suggestions modified BrowserActivity to use TitleBarXLarge Change-Id: I62db2be5b89f4c4f27c09dbc6fee7b3b0d5e91b5
Diffstat (limited to 'res/layout-land')
-rw-r--r--res/layout-land/title_bar_tabbed.xml87
1 files changed, 87 insertions, 0 deletions
diff --git a/res/layout-land/title_bar_tabbed.xml b/res/layout-land/title_bar_tabbed.xml
new file mode 100644
index 0000000..853dbeb
--- /dev/null
+++ b/res/layout-land/title_bar_tabbed.xml
@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="utf-8"?>
+ <!--
+ Copyright 2010, 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.
+ -->
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/tabbedtitleland"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ android:paddingLeft="6dip"
+ android:paddingRight="6dip"
+ android:background="#ffdddddd">
+ <ImageButton
+ android:id="@+id/back"
+ android:src="@drawable/ic_arrow_left"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_marginRight="6dip"
+ android:background="@drawable/browserbarbutton" />
+ <ImageButton
+ android:id="@+id/forward"
+ android:src="@drawable/ic_arrow_right"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_marginRight="6dip"
+ android:background="@drawable/browserbarbutton" />
+ <ImageButton
+ android:id="@+id/star"
+ android:src="@drawable/ic_star"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_marginRight="6dip"
+ android:background="@drawable/browserbarbutton" />
+ <com.android.browser.TabScrollView
+ android:id="@+id/tabs"
+ android:layout_width="0dip"
+ android:layout_weight="1.0"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal" />
+ <com.android.browser.UrlInputView
+ android:id="@+id/editurl"
+ android:layout_width="0dip"
+ android:layout_weight="1.0"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="3dip"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:textColor="@color/black"
+ android:gravity="center_vertical"
+ android:singleLine="true"
+ android:ellipsize="end"
+ android:lines="1"
+ android:scrollHorizontally="true"
+ android:visibility="gone"
+ android:background="@drawable/textfield_stroke"
+ android:inputType="textUri"
+ android:imeOptions="actionGo" />
+ <ImageButton
+ android:id="@+id/newtab"
+ android:src="@drawable/ic_menu_new_window"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_marginRight="6dip"
+ android:background="@drawable/browserbarbutton" />
+ <ImageButton
+ android:id="@+id/menu"
+ android:src="@drawable/ic_menu"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_marginRight="6dip"
+ android:background="@drawable/browserbarbutton" />
+ <ImageButton
+ android:id="@+id/all_btn"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:scaleType="center"
+ android:background="@drawable/browserbarbutton"
+ android:src="@drawable/ic_pages" />
+</LinearLayout>