mobile/android/base/resources/layout/home_suggestion_prompt.xml

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

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

mercurial