|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!-- This Source Code Form is subject to the terms of the Mozilla Public |
|
3 - License, v. 2.0. If a copy of the MPL was not distributed with this |
|
4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> |
|
5 |
|
6 <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
7 android:layout_width="match_parent" |
|
8 android:layout_height="wrap_content" |
|
9 android:background="@color/background_light"> |
|
10 |
|
11 <LinearLayout android:id="@+id/prompt" |
|
12 android:focusable="true" |
|
13 android:layout_width="match_parent" |
|
14 android:layout_height="wrap_content" |
|
15 android:orientation="horizontal" |
|
16 android:minHeight="@dimen/search_row_height" |
|
17 android:gravity="center_vertical" |
|
18 android:padding="10dip"> |
|
19 |
|
20 <TextView android:id="@+id/suggestions_prompt_title" |
|
21 android:layout_height="wrap_content" |
|
22 android:layout_width="0dp" |
|
23 android:layout_marginLeft="6dip" |
|
24 android:layout_weight="1" |
|
25 android:textAppearance="@style/TextAppearance.Widget.SuggestionsPrompt"/> |
|
26 |
|
27 <TextView android:id="@+id/suggestions_prompt_yes" |
|
28 android:layout_height="wrap_content" |
|
29 android:layout_width="wrap_content" |
|
30 android:layout_marginLeft="15dip" |
|
31 android:textAppearance="@style/TextAppearance.Widget.SuggestionsPrompt" |
|
32 android:background="@drawable/suggestion_selector" |
|
33 android:paddingLeft="15dp" |
|
34 android:paddingRight="15dp" |
|
35 android:paddingTop="7dp" |
|
36 android:paddingBottom="7dp" |
|
37 android:focusable="true" |
|
38 android:text="@string/button_yes" /> |
|
39 |
|
40 <TextView android:id="@+id/suggestions_prompt_no" |
|
41 android:layout_height="wrap_content" |
|
42 android:layout_width="wrap_content" |
|
43 android:layout_marginLeft="6dip" |
|
44 android:textAppearance="@style/TextAppearance.Widget.SuggestionsPrompt" |
|
45 android:background="@drawable/suggestion_selector" |
|
46 android:nextFocusRight="@+id/suggestions_prompt_no" |
|
47 android:paddingLeft="15dp" |
|
48 android:paddingRight="15dp" |
|
49 android:paddingTop="7dp" |
|
50 android:paddingBottom="7dp" |
|
51 android:focusable="true" |
|
52 android:text="@string/button_no" /> |
|
53 |
|
54 </LinearLayout> |
|
55 |
|
56 </FrameLayout> |