summaryrefslogtreecommitdiffstats
path: root/mobile/android/base/resources/layout/search_suggestions_row.xml
diff options
context:
space:
mode:
Diffstat (limited to 'mobile/android/base/resources/layout/search_suggestions_row.xml')
-rw-r--r--mobile/android/base/resources/layout/search_suggestions_row.xml31
1 files changed, 31 insertions, 0 deletions
diff --git a/mobile/android/base/resources/layout/search_suggestions_row.xml b/mobile/android/base/resources/layout/search_suggestions_row.xml
new file mode 100644
index 000000000..8c3f3e7a1
--- /dev/null
+++ b/mobile/android/base/resources/layout/search_suggestions_row.xml
@@ -0,0 +1,31 @@
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+ - License, v. 2.0. If a copy of the MPL was not distributed with this
+ - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
+
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:background="@drawable/search_row_background"
+ android:padding="@dimen/search_row_padding"
+ android:descendantFocusability="blocksDescendants"
+ android:orientation="horizontal">
+
+ <TextView
+ android:id="@+id/auto_complete_row_text"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:textSize="@dimen/query_text_size"/>
+
+ <ImageButton
+ android:id="@+id/auto_complete_row_jump_button"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="right|center_vertical"
+ android:paddingLeft="@dimen/search_row_padding"
+ android:src="@drawable/search_plus"
+ android:contentDescription="@string/search_plus_content_description"
+ android:background="@android:color/transparent" />
+
+</LinearLayout>