1 <?xml version="1.0" encoding="utf-8"?>
4 Copyright 2016 Soren Stoutner <soren@stoutner.com>.
6 This file is part of Privacy Browser <https://www.stoutner.com/privacy-browser>.
8 Privacy Browser is free software: you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation, either version 3 of the License, or
11 (at your option) any later version.
13 Privacy Browser is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with Privacy Browser. If not, see <http://www.gnu.org/licenses/>. -->
22 xmlns:android="http://schemas.android.com/apk/res/android"
23 android:id="@+id/find_on_page_relativelayout"
24 android:layout_height="wrap_content"
25 android:layout_width="match_parent" >
28 android:id="@+id/close_find"
29 android:src="@drawable/close"
30 android:layout_alignParentEnd="true"
31 android:layout_width="30dp"
32 android:layout_height="30dp"
33 android:layout_centerVertical="true"
34 android:contentDescription="@string/close" />
37 android:id="@+id/find_next"
38 android:src="@drawable/next"
39 android:layout_toStartOf="@id/close_find"
40 android:layout_width="30dp"
41 android:layout_height="30dp"
42 android:layout_centerVertical="true"
43 android:contentDescription="@string/next" />
46 android:id="@+id/find_previous"
47 android:src="@drawable/previous"
48 android:layout_toStartOf="@id/find_next"
49 android:layout_width="30dp"
50 android:layout_height="30dp"
51 android:layout_centerVertical="true"
52 android:contentDescription="@string/previous" />
54 <!-- `android:imeOptions="actionGo"` sets the keyboard to have a `go` key instead of a `new line` key. -->
56 android:id="@+id/find_on_page_edittext"
57 android:layout_toStartOf="@id/find_previous"
58 android:layout_height="wrap_content"
59 android:layout_width="match_parent"
60 android:hint="@string/find_on_page"
61 android:imeOptions="actionGo" />