summaryrefslogtreecommitdiffstats
path: root/mobile/android/base/resources/layout/search_engine_bar_label.xml
blob: 057e9bf31cb3d2e162734618b7cd7e50462e6f49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?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/. -->

<!-- TwoWayView doesn't let us set the margin around items (except as
     gecko:itemMargin, but that doesn't increase the hit area) so we
     have to surround the main View by a ViewGroup to create a pressable margin. -->
<FrameLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="48dp"
    android:layout_height="match_parent"
    android:clickable="true"
    android:background="@color/pressed_about_page_header_grey">

    <ImageView
        android:id="@+id/search_engine_label"
        android:layout_width="16dp"
        android:layout_height="16dp"
        android:layout_gravity="center"
        android:scaleType="fitXY"/>

</FrameLayout>