1
0
Fork 0
fenix/app/src/main/res/layout/search_widget_large.xml

44 lines
1.8 KiB
XML
Raw Normal View History

2020-03-26 15:16:02 +01:00
<?xml version="1.0" encoding="utf-8"?><!-- This Source Code Form is subject to the terms of the Mozilla Public
2019-07-11 19:24:58 +02:00
- 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/. -->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
2020-03-26 15:16:02 +01:00
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="50dp"
2020-03-26 15:16:02 +01:00
android:layout_gravity="center"
android:background="@drawable/rounded_white_corners">
2019-07-11 19:24:58 +02:00
<ImageView
2020-03-26 15:16:02 +01:00
android:id="@+id/button_search_widget_new_tab_icon"
android:contentDescription="@string/browser_menu_new_tab"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_alignParentStart="true"
android:scaleType="centerInside" />
<TextView
2020-03-26 15:16:02 +01:00
android:id="@+id/button_search_widget_new_tab"
android:layout_width="match_parent"
android:layout_height="match_parent"
2020-03-26 15:16:02 +01:00
android:layout_marginStart="9dp"
android:layout_toEndOf="@id/button_search_widget_new_tab_icon"
android:layout_alignEnd="@id/button_search_widget_voice"
2020-06-30 01:36:52 +02:00
android:gravity="start|center_vertical"
2020-03-26 15:16:02 +01:00
android:letterSpacing="-0.025"
android:textAlignment="viewStart"
android:textColor="@color/search_widget_text"
android:textSize="15sp"
tools:text="Search the web"/>
2019-07-11 19:24:58 +02:00
<ImageButton
2020-03-26 15:16:02 +01:00
android:id="@+id/button_search_widget_voice"
android:contentDescription="@string/search_widget_voice"
android:layout_width="48dp"
android:layout_height="48dp"
2020-03-26 15:16:02 +01:00
android:layout_alignParentEnd="true"
android:layout_centerVertical="true"
android:layout_marginEnd="1dp"
android:background="@drawable/ic_microphone_widget_padded" />
2020-06-30 01:36:52 +02:00
</RelativeLayout>