diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /mobile/android/base/resources/layout/search_widget.xml | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'mobile/android/base/resources/layout/search_widget.xml')
-rw-r--r-- | mobile/android/base/resources/layout/search_widget.xml | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/mobile/android/base/resources/layout/search_widget.xml b/mobile/android/base/resources/layout/search_widget.xml new file mode 100644 index 000000000..e5db2d774 --- /dev/null +++ b/mobile/android/base/resources/layout/search_widget.xml @@ -0,0 +1,67 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- 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/. --> + +<!-- A homescreen widget for launching Fennec or the search activity. We can't use styles in here + so make sure any changes you make are also made to launch_widget.xml which doesn't have + the search widget button. --> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="@dimen/widget_header_height" + android:orientation="horizontal" + android:background="@drawable/widget_bg"> + + <ImageView android:id="@+id/logo_button" + android:layout_width="0dp" + android:layout_weight="1" + android:padding="@dimen/widget_padding" + android:background="@drawable/widget_button_left" + android:layout_height="match_parent" + android:src="@drawable/widget_icon"/> + + <LinearLayout android:id="@+id/search_button" + android:layout_width="0dp" + android:layout_height="match_parent" + android:layout_weight="1" + android:gravity="center" + android:contentDescription="@string/search_widget_button_label" + android:orientation="horizontal" + android:background="@drawable/widget_button_middle"> + + <TextView android:id="@+id/search_button_label" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:drawableLeft="@drawable/ic_widget_search" + android:drawablePadding="@dimen/widget_padding" + android:text="@string/search_widget_button_label" + android:gravity="center" + android:fontFamily="sans-serif" + android:textSize="@dimen/widget_text_size" + android:textColor="@color/toolbar_icon_grey"/> + + </LinearLayout> + + <LinearLayout android:id="@+id/new_tab_button" + android:layout_width="0dp" + android:layout_weight="1" + android:layout_height="match_parent" + android:contentDescription="@string/new_tab" + android:gravity="center" + android:orientation="horizontal" + android:background="@drawable/widget_button_right"> + + <TextView android:id="@+id/new_tab_button_label" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:drawableLeft="@drawable/ic_widget_new_tab" + android:drawablePadding="@dimen/widget_padding" + android:gravity="center" + android:text="@string/new_tab" + android:fontFamily="sans-serif" + android:textSize="@dimen/widget_text_size" + android:textColor="@color/toolbar_icon_grey"/> + + </LinearLayout> + +</LinearLayout> |