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

56 lines
2.4 KiB
XML

<?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>