summaryrefslogtreecommitdiffstats
path: root/mobile/android/base/resources/layout/home_suggestion_prompt.xml
blob: 818671e1c27b5ea54e6c9f09bcd8e6da60d02b39 (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?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/. -->

<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
             android:layout_width="match_parent"
             android:layout_height="wrap_content"
             android:background="@color/about_page_header_grey">

    <LinearLayout android:id="@+id/prompt"
                  android:focusable="true"
                  android:layout_width="match_parent"
                  android:minHeight="48dp"
                  android:layout_height="wrap_content"
                  android:orientation="horizontal"
                  android:gravity="center_vertical"
                  android:paddingLeft="15dp"
                  android:paddingRight="15dp"
                  android:textSize="12sp">

        <TextView android:id="@+id/suggestions_prompt_title"
                  android:layout_height="wrap_content"
                  android:layout_width="0dp"
                  android:layout_weight="1"
                  android:fontFamily="sans-serif"
                  android:textColor="@color/text_and_tabs_tray_grey"
                  android:layout_marginRight="10dp"/>

        <TextView android:id="@+id/suggestions_prompt_no"
                  android:layout_height="32dp"
                  android:minWidth="72dp"
                  android:layout_width="wrap_content"
                  android:layout_marginRight="10dp"
                  android:textColor="@color/text_and_tabs_tray_grey"
                  android:gravity="center"
                  android:background="@drawable/search_suggestion_prompt_no"
                  android:nextFocusRight="@+id/suggestions_prompt_yes"
                  android:focusable="true"
                  android:text="@string/button_no"/>

        <TextView android:id="@+id/suggestions_prompt_yes"
                  android:layout_height="32dp"
                  android:minWidth="72dp"
                  android:layout_width="wrap_content"
                  android:gravity="center"
                  android:textColor="@android:color/white"
                  android:background="@drawable/search_suggestion_prompt_yes"
                  android:focusable="true"
                  android:text="@string/button_yes"/>



    </LinearLayout>

</FrameLayout>