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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mobile/android/base/resources/layout/home_suggestion_prompt.xml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,56 @@
     1.4 +<?xml version="1.0" encoding="utf-8"?>
     1.5 +<!-- This Source Code Form is subject to the terms of the Mozilla Public
     1.6 +   - License, v. 2.0. If a copy of the MPL was not distributed with this
     1.7 +   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
     1.8 +
     1.9 +<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    1.10 +             android:layout_width="match_parent"
    1.11 +             android:layout_height="wrap_content"
    1.12 +             android:background="@color/background_light">
    1.13 +
    1.14 +    <LinearLayout android:id="@+id/prompt"
    1.15 +                  android:focusable="true"
    1.16 +                  android:layout_width="match_parent"
    1.17 +                  android:layout_height="wrap_content"
    1.18 +                  android:orientation="horizontal"
    1.19 +                  android:minHeight="@dimen/search_row_height"
    1.20 +                  android:gravity="center_vertical"
    1.21 +                  android:padding="10dip">
    1.22 +
    1.23 +        <TextView android:id="@+id/suggestions_prompt_title"
    1.24 +                  android:layout_height="wrap_content"
    1.25 +                  android:layout_width="0dp"
    1.26 +                  android:layout_marginLeft="6dip"
    1.27 +                  android:layout_weight="1"
    1.28 +                  android:textAppearance="@style/TextAppearance.Widget.SuggestionsPrompt"/>
    1.29 +
    1.30 +        <TextView android:id="@+id/suggestions_prompt_yes"
    1.31 +                  android:layout_height="wrap_content"
    1.32 +                  android:layout_width="wrap_content"
    1.33 +                  android:layout_marginLeft="15dip"
    1.34 +                  android:textAppearance="@style/TextAppearance.Widget.SuggestionsPrompt"
    1.35 +                  android:background="@drawable/suggestion_selector"
    1.36 +                  android:paddingLeft="15dp"
    1.37 +                  android:paddingRight="15dp"
    1.38 +                  android:paddingTop="7dp"
    1.39 +                  android:paddingBottom="7dp"
    1.40 +                  android:focusable="true"
    1.41 +                  android:text="@string/button_yes" />
    1.42 +
    1.43 +        <TextView android:id="@+id/suggestions_prompt_no"
    1.44 +                  android:layout_height="wrap_content"
    1.45 +                  android:layout_width="wrap_content"
    1.46 +                  android:layout_marginLeft="6dip"
    1.47 +                  android:textAppearance="@style/TextAppearance.Widget.SuggestionsPrompt"
    1.48 +                  android:background="@drawable/suggestion_selector"
    1.49 +                  android:nextFocusRight="@+id/suggestions_prompt_no"
    1.50 +                  android:paddingLeft="15dp"
    1.51 +                  android:paddingRight="15dp"
    1.52 +                  android:paddingTop="7dp"
    1.53 +                  android:paddingBottom="7dp"
    1.54 +                  android:focusable="true"
    1.55 +                  android:text="@string/button_no" />
    1.56 +
    1.57 +    </LinearLayout>
    1.58 +
    1.59 +</FrameLayout>

mercurial