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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mobile/android/base/resources/layout/doorhanger.xml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,60 @@
     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 +<merge xmlns:android="http://schemas.android.com/apk/res/android">
    1.10 +
    1.11 +    <LinearLayout android:layout_width="wrap_content"
    1.12 +                  android:layout_height="wrap_content"
    1.13 +                  android:orientation="horizontal"
    1.14 +                  android:padding="@dimen/doorhanger_padding">
    1.15 +
    1.16 +        <ImageView android:id="@+id/doorhanger_icon"
    1.17 +                   android:layout_width="wrap_content"
    1.18 +                   android:layout_height="wrap_content"
    1.19 +                   android:paddingRight="@dimen/doorhanger_padding"
    1.20 +                   android:visibility="gone"/>
    1.21 +
    1.22 +        <TextView android:id="@+id/doorhanger_title"
    1.23 +                  android:focusable="true"
    1.24 +                  android:layout_width="fill_parent"
    1.25 +                  android:layout_height="wrap_content"
    1.26 +                  android:textAppearance="?android:attr/textAppearanceMedium"
    1.27 +                  android:textColor="@color/doorhanger_text"
    1.28 +                  android:textColorLink="@color/doorhanger_link"/>
    1.29 +
    1.30 +    </LinearLayout>
    1.31 +
    1.32 +    <LinearLayout android:id="@+id/doorhanger_inputs"
    1.33 +              android:layout_width="wrap_content"
    1.34 +              android:layout_height="wrap_content"
    1.35 +              android:orientation="vertical"
    1.36 +              android:gravity="right"
    1.37 +              android:visibility="gone"/>
    1.38 +
    1.39 +    <CheckBox android:id="@+id/doorhanger_checkbox"
    1.40 +              android:layout_width="fill_parent"
    1.41 +              android:layout_height="wrap_content"
    1.42 +              android:checked="true"
    1.43 +              android:textColor="@color/doorhanger_text"
    1.44 +              android:visibility="gone"/>
    1.45 +
    1.46 +    <View android:id="@+id/divider_choices"
    1.47 +          android:layout_width="fill_parent"
    1.48 +          android:layout_height="1dp"
    1.49 +          android:visibility="gone"/>
    1.50 +
    1.51 +    <LinearLayout android:id="@+id/doorhanger_choices"
    1.52 +                  android:layout_width="fill_parent"
    1.53 +                  android:layout_height="wrap_content"
    1.54 +                  android:orientation="horizontal"
    1.55 +                  android:visibility="gone"/>
    1.56 +
    1.57 +    <View android:id="@+id/divider_doorhanger"
    1.58 +          android:layout_width="fill_parent"
    1.59 +          android:layout_height="1dp"
    1.60 +          android:background="#FFFF9500"
    1.61 +          android:visibility="gone"/>
    1.62 +
    1.63 +</merge>

mercurial