diff options
author | Michael Kolb <kolby@google.com> | 2011-07-14 15:25:45 -0700 |
---|---|---|
committer | Michael Kolb <kolby@google.com> | 2011-07-14 15:42:57 -0700 |
commit | de463761d9f92f665ac6158eba041ed89319426b (patch) | |
tree | f749e057b93d722744f7c1be3f3149889c26b16a /res | |
parent | e9e1d4af4971e09392627e8e53d69d1b70bcb572 (diff) | |
download | packages_apps_Browser-de463761d9f92f665ac6158eba041ed89319426b.zip packages_apps_Browser-de463761d9f92f665ac6158eba041ed89319426b.tar.gz packages_apps_Browser-de463761d9f92f665ac6158eba041ed89319426b.tar.bz2 |
adjust url bar for portrait large screen
Bug: 4515354
Original bug: 4335356
hand picked the changes into the new code
Change-Id: I54b69a35660a5a38f41486c974c1cea171ee5d5e
Diffstat (limited to 'res')
-rw-r--r-- | res/layout-sw600dp/title_bar_nav.xml | 44 | ||||
-rw-r--r-- | res/values-w720dp/bools.xml | 16 | ||||
-rw-r--r-- | res/values/bools.xml | 1 |
3 files changed, 42 insertions, 19 deletions
diff --git a/res/layout-sw600dp/title_bar_nav.xml b/res/layout-sw600dp/title_bar_nav.xml index 4ef94e8..ccb9188 100644 --- a/res/layout-sw600dp/title_bar_nav.xml +++ b/res/layout-sw600dp/title_bar_nav.xml @@ -18,26 +18,32 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="horizontal" android:background="@drawable/bg_urlbar"> - <ImageButton - android:id="@+id/back" - android:src="@drawable/ic_back_holo_dark" - android:layout_width="wrap_content" - android:layout_height="match_parent" - android:paddingLeft="16dip" - style="@style/HoloButton" /> - <ImageButton - android:id="@+id/forward" - android:src="@drawable/ic_forward_holo_dark" - android:layout_width="wrap_content" - android:layout_height="match_parent" - style="@style/HoloButton" /> - <ImageButton - android:id="@+id/stop" + <LinearLayout + android:id="@+id/navbuttons" android:layout_width="wrap_content" - android:layout_height="match_parent" - style="@style/HoloButton" - android:gravity="center_vertical" - android:src="@drawable/ic_stop_holo_dark" /> + android:layout_height="wrap_content" + android:orientation="horizontal"> + <ImageButton + android:id="@+id/back" + android:src="@drawable/ic_back_holo_dark" + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:paddingLeft="16dip" + style="@style/HoloButton" /> + <ImageButton + android:id="@+id/forward" + android:src="@drawable/ic_forward_holo_dark" + android:layout_width="wrap_content" + android:layout_height="match_parent" + style="@style/HoloButton" /> + <ImageButton + android:id="@+id/stop" + android:layout_width="wrap_content" + android:layout_height="match_parent" + style="@style/HoloButton" + android:gravity="center_vertical" + android:src="@drawable/ic_stop_holo_dark" /> + </LinearLayout> <LinearLayout android:id="@+id/urlbar_focused" android:layout_width="0dip" diff --git a/res/values-w720dp/bools.xml b/res/values-w720dp/bools.xml new file mode 100644 index 0000000..0d05b7f --- /dev/null +++ b/res/values-w720dp/bools.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2011 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. +--> +<resources + xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <bool name="hide_nav_buttons">false</bool> +</resources> diff --git a/res/values/bools.xml b/res/values/bools.xml index 6217de1..55f8242 100644 --- a/res/values/bools.xml +++ b/res/values/bools.xml @@ -13,4 +13,5 @@ <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> <bool name="isTablet">false</bool> + <bool name="hide_nav_buttons">true</bool> </resources> |