summaryrefslogtreecommitdiffstats
path: root/mobile/android/base/resources/layout/tab_queue_toast.xml
blob: 9aaf60f943d82665c5034ce349a2e3886f37879c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?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/. -->

<!-- (lint: UselessParent) The second-outermost layout doesn't have a parent to position itself
     against and would take up the whole screen without the outermost layout. -->
<FrameLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"

    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    tools:ignore="UselessParent">

    <LinearLayout
        android:id="@+id/toast"
        style="@style/Toast">

        <TextView
            android:id="@+id/toast_message"
            style="@style/ToastMessage"

            tools:text="Tab queued in firefox" />

        <View
            android:id="@+id/toast_divider"
            style="@style/ToastDivider" />

        <Button
            android:id="@+id/toast_button"
            style="@style/ToastButton"
            android:drawableLeft="@drawable/switch_button_icon"

            tools:text="Open" />

    </LinearLayout>
</FrameLayout>