Bug 887069 - Fix focus behavior of go button in URL bar. r=sriram

This commit is contained in:
Brian Nicholson 2013-06-28 14:58:18 -07:00
parent 4caf84c0f6
commit 182778fa84
2 changed files with 4 additions and 10 deletions

View File

@ -41,16 +41,13 @@
<requestFocus/> <requestFocus/>
</view> </view>
<LinearLayout android:layout_width="4dp"
android:layout_height="fill_parent"
android:orientation="vertical"
android:layout_alignParentRight="true"/>
<ImageButton android:id="@+id/awesomebar_button" <ImageButton android:id="@+id/awesomebar_button"
style="@style/AddressBar.ImageButton.Icon" style="@style/AddressBar.ImageButton.Icon"
android:padding="14dip" android:padding="14dip"
android:background="@drawable/action_bar_button"
android:layout_centerVertical="true" android:layout_centerVertical="true"
android:layout_alignRight="@id/awesomebar_text" android:layout_alignRight="@id/awesomebar_text"
android:nextFocusLeft="@id/awesomebar_text"
android:visibility="gone" android:visibility="gone"
android:src="@drawable/ic_awesomebar_go"/> android:src="@drawable/ic_awesomebar_go"/>

View File

@ -43,16 +43,13 @@
gecko:autoUpdateTheme="false"> gecko:autoUpdateTheme="false">
</view> </view>
<LinearLayout android:layout_width="4dp"
android:layout_height="fill_parent"
android:orientation="vertical"
android:layout_alignParentRight="true"/>
<ImageButton android:id="@+id/awesomebar_button" <ImageButton android:id="@+id/awesomebar_button"
style="@style/AddressBar.ImageButton.Icon" style="@style/AddressBar.ImageButton.Icon"
android:background="@drawable/action_bar_button"
android:padding="12dip" android:padding="12dip"
android:layout_centerVertical="true" android:layout_centerVertical="true"
android:layout_alignRight="@id/awesomebar_text" android:layout_alignRight="@id/awesomebar_text"
android:nextFocusLeft="@id/awesomebar_text"
android:visibility="gone" android:visibility="gone"
android:src="@drawable/ic_awesomebar_go"/> android:src="@drawable/ic_awesomebar_go"/>