mobile/android/base/resources/layout/home_banner_content.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 <merge xmlns:android="http://schemas.android.com/apk/res/android"
     7        xmlns:gecko="http://schemas.android.com/apk/res-auto">
     9      <ImageView android:id="@+id/icon"
    10                 android:layout_width="48dip"
    11                 android:layout_height="48dip"
    12                 android:layout_marginLeft="10dp"
    13                 android:scaleType="centerInside"/>
    15      <org.mozilla.gecko.widget.EllipsisTextView
    16          android:id="@+id/text"
    17          android:layout_width="0dip"
    18          android:layout_height="fill_parent"
    19          android:layout_weight="1"
    20          android:layout_marginLeft="10dp"
    21          android:paddingTop="7dp"
    22          android:paddingBottom="7dp"
    23          android:textAppearance="@style/TextAppearance.Widget.HomeBanner"
    24          android:layout_gravity="bottom"
    25          android:gravity="center_vertical"
    26          gecko:ellipsizeAtLine="3"/>
    28     <ImageButton android:id="@+id/close"
    29                  android:layout_width="34dip"
    30                  android:layout_height="fill_parent"
    31                  android:background="@drawable/home_banner"
    32                  android:scaleType="center"
    33                  android:contentDescription="@string/close_tab"
    34                  android:src="@drawable/tab_close"/>
    36 </merge>

mercurial