gecko/mobile/android/base/resources/layout/find_in_page_content.xml

46 lines
2.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<merge xmlns:android="http://schemas.android.com/apk/res/android">
<view class="org.mozilla.gecko.CustomEditText"
android:id="@+id/find_text"
android:contentDescription="@string/find_text"
android:background="@drawable/address_bar_url"
android:singleLine="true"
android:textColor="#000000"
android:textCursorDrawable="@null"
android:inputType="text"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="5dip"
android:layout_marginRight="5dip"
android:paddingLeft="15dip"
android:paddingRight="15dip"
android:textColorHighlight="@color/url_bar_text_highlight"
android:imeOptions="actionSearch"
android:selectAllOnFocus="true"
android:gravity="center_vertical|left"
android:layout_toLeftOf="@+id/find_prev"/>
<ImageButton android:id="@+id/find_prev"
style="@style/FindBar.ImageButton"
android:contentDescription="@string/find_prev"
android:src="@drawable/find_prev"
android:layout_toLeftOf="@+id/find_next"
android:background="@drawable/action_bar_button"/>
<ImageButton android:id="@+id/find_next"
style="@style/FindBar.ImageButton"
android:contentDescription="@string/find_next"
android:src="@drawable/find_next"
android:layout_toLeftOf="@+id/find_close"
android:background="@drawable/action_bar_button"/>
<ImageButton android:id="@+id/find_close"
style="@style/FindBar.ImageButton"
android:contentDescription="@string/find_close"
android:src="@drawable/find_close"
android:layout_alignParentRight="true"
android:background="@drawable/action_bar_button"/>
</merge>