mobile/android/base/resources/layout/home_suggestion_prompt.xml
author Sriram Ramasubramanian <sriram@mozilla.com>
Tue, 24 Sep 2013 11:54:16 -0700
changeset 160882 e145a1d09fac8436e41d363ce04fefef4e2b38db
parent 156349 2097a11d890238b229d6ad0345090a6f5e334e81
child 270993 6e18d1c774b8d1cedcddd056a4a5f409a7b6d6a9
permissions -rw-r--r--
Bug 910882 - Change search suggestions background to a lighter blue. r=margaret, a=lsblakk

<?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/background_light">

    <LinearLayout android:id="@+id/prompt"
                  android:focusable="true"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:orientation="horizontal"
                  android:minHeight="@dimen/search_row_height"
                  android:gravity="center_vertical"
                  android:padding="10dip">

        <TextView android:id="@+id/suggestions_prompt_title"
                  android:layout_height="wrap_content"
                  android:layout_width="0dp"
                  android:layout_marginLeft="6dip"
                  android:layout_weight="1"
                  android:textAppearance="@style/TextAppearance.Widget.SuggestionsPrompt"/>

        <TextView android:id="@+id/suggestions_prompt_yes"
                  android:layout_height="wrap_content"
                  android:layout_width="wrap_content"
                  android:layout_marginLeft="15dip"
                  android:textAppearance="@style/TextAppearance.Widget.SuggestionsPrompt"
                  android:background="@drawable/suggestion_selector"
                  android:paddingLeft="15dp"
                  android:paddingRight="15dp"
                  android:paddingTop="7dp"
                  android:paddingBottom="7dp"
                  android:focusable="true"
                  android:text="@string/button_yes" />

        <TextView android:id="@+id/suggestions_prompt_no"
                  android:layout_height="wrap_content"
                  android:layout_width="wrap_content"
                  android:layout_marginLeft="6dip"
                  android:textAppearance="@style/TextAppearance.Widget.SuggestionsPrompt"
                  android:background="@drawable/suggestion_selector"
                  android:nextFocusRight="@+id/suggestions_prompt_no"
                  android:paddingLeft="15dp"
                  android:paddingRight="15dp"
                  android:paddingTop="7dp"
                  android:paddingBottom="7dp"
                  android:focusable="true"
                  android:text="@string/button_no" />

    </LinearLayout>

</FrameLayout>