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

Wed, 31 Dec 2014 07:22:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:22:50 +0100
branch
TOR_BUG_3246
changeset 4
fc2d59ddac77
permissions
-rw-r--r--

Correct previous dual key logic pending first delivery installment.

     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/. -->
     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">
    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">
    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"/>
    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" />
    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" />
    54     </LinearLayout>
    56 </FrameLayout>

mercurial