<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright 2016 Soren Stoutner <soren@stoutner.com>.
+ Copyright © 2016-2017 Soren Stoutner <soren@stoutner.com>.
This file is part of Privacy Browser <https://www.stoutner.com/privacy-browser>.
android:orientation="horizontal"
android:visibility="gone" >
- <!-- `android:imeOptions="actionGo"` sets the keyboard to have a `go` key instead of a `new line` key. -->
+ <!-- `android:imeOptions="actionDone"` sets the keyboard to have a `check mark` key instead of a `new line` key. -->
<EditText
android:id="@+id/find_on_page_edittext"
android:layout_height="wrap_content"
android:layout_marginEnd="4dp"
android:hint="@string/find_on_page"
android:lines="1"
- android:imeOptions="actionGo"
+ android:imeOptions="actionDone"
android:inputType="text" />
+ <TextView
+ android:id="@+id/find_on_page_count_textview"
+ android:layout_height="wrap_content"
+ android:layout_width="wrap_content"
+ android:layout_marginStart="4dp"
+ android:layout_marginEnd="4dp"
+ android:text="@string/zero_of_zero"
+ />
+
<ImageView
android:id="@+id/find_previous"
android:src="@drawable/previous"
android:layout_marginStart="4dp"
android:layout_marginEnd="4dp"
android:layout_gravity="center_vertical"
- android:contentDescription="@string/previous" />
+ android:tint="?attr/findOnPageIconTintColor"
+ android:contentDescription="@string/previous"
+ android:onClick="findPreviousOnPage" />
<ImageView
android:id="@+id/find_next"
android:layout_marginStart="4dp"
android:layout_marginEnd="4dp"
android:layout_gravity="center_vertical"
- android:contentDescription="@string/next" />
+ android:tint="?attr/findOnPageIconTintColor"
+ android:contentDescription="@string/next"
+ android:onClick="findNextOnPage" />
<ImageView
android:id="@+id/close_find"
- android:src="@drawable/close"
+ android:src="@drawable/close_light"
android:layout_width="35dp"
android:layout_height="35dp"
android:layout_marginStart="4dp"
android:layout_marginEnd="8dp"
android:layout_gravity="center_vertical"
+ android:tint="?attr/findOnPageIconTintColor"
android:contentDescription="@string/close"
android:onClick="closeFindOnPage" />
</LinearLayout>
\ No newline at end of file