summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorMichael Kolb <kolby@google.com>2011-01-16 10:43:21 -0800
committerMichael Kolb <kolby@google.com>2011-01-25 11:34:46 -0800
commita418306e08e008da99cef929c48e05d2a101ceaf (patch)
tree840ba68fadf718280a7d5125e08ae4d4eacd0282 /res/layout
parentf3702e7d41a67e4388a8533647d6a3c6f8ac92be (diff)
downloadpackages_apps_Browser-a418306e08e008da99cef929c48e05d2a101ceaf.zip
packages_apps_Browser-a418306e08e008da99cef929c48e05d2a101ceaf.tar.gz
packages_apps_Browser-a418306e08e008da99cef929c48e05d2a101ceaf.tar.bz2
hardware keyboard support
http://b/issue?id=3368141 http://b/issue?id=3368100 Removed duplicate key handling added focus transition from page to url bar once framework bug http://b/issue?id=3381411 is fixed, focus transitions in url bar will be fixed Change-Id: Id5011e78bf70d51a25a4e01cf31d9e6ad95ceab7
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/tab_title.xml2
-rw-r--r--res/layout/url_bar.xml11
2 files changed, 6 insertions, 7 deletions
diff --git a/res/layout/tab_title.xml b/res/layout/tab_title.xml
index 0f500c7..62ef2f3 100644
--- a/res/layout/tab_title.xml
+++ b/res/layout/tab_title.xml
@@ -53,8 +53,6 @@
android:textColor="@color/white"
android:gravity="center_vertical"
android:scrollHorizontally="true"
- android:fadingEdge="horizontal"
- android:fadingEdgeLength="24dip"
android:lines="1"
android:singleLine="true" />
<ImageButton
diff --git a/res/layout/url_bar.xml b/res/layout/url_bar.xml
index 3a4e4bb..20081f0 100644
--- a/res/layout/url_bar.xml
+++ b/res/layout/url_bar.xml
@@ -35,7 +35,7 @@
android:layout_width="wrap_content"
android:layout_height="match_parent"
style="@style/HoloButton" />
- <ImageView
+ <ImageButton
android:id="@+id/stop"
android:layout_width="wrap_content"
android:layout_height="match_parent"
@@ -50,7 +50,7 @@
android:layout_marginLeft="8dip"
android:layout_marginRight="8dip"
android:orientation="horizontal"
- android:background="@drawable/textfield_default_holo_dark">
+ android:background="@drawable/url_background">
<ImageView
android:id="@+id/voice_icon"
android:layout_width="wrap_content"
@@ -66,6 +66,7 @@
android:visibility="gone" />
<com.android.browser.UrlInputView
android:id="@+id/url_focused"
+ android:focusable="true"
android:layout_width="0dip"
android:layout_weight="1.0"
android:layout_height="match_parent"
@@ -83,13 +84,13 @@
android:inputType="textUri"
android:imeOptions="actionGo"
style="@style/Suggestions" />
- <ImageView
+ <ImageButton
android:id="@+id/star"
android:src="@drawable/btn_imageview_star"
android:layout_width="wrap_content"
android:layout_height="match_parent"
style="@style/HoloButton" />
- <ImageView
+ <ImageButton
android:id="@+id/clear"
android:src="@drawable/ic_stop_holo_dark"
android:layout_width="wrap_content"
@@ -104,7 +105,7 @@
android:visibility="gone"
android:gravity="center_vertical"
style="@style/HoloButton" />
- <ImageView
+ <ImageButton
android:id="@+id/voicesearch"
android:src="@drawable/ic_voice_search_holo_dark"
android:layout_width="wrap_content"