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.

michael@0 1 <?xml version="1.0" encoding="utf-8"?>
michael@0 2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
michael@0 3 - License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
michael@0 5
michael@0 6 <merge xmlns:android="http://schemas.android.com/apk/res/android"
michael@0 7 xmlns:gecko="http://schemas.android.com/apk/res-auto">
michael@0 8
michael@0 9 <ImageView android:id="@+id/icon"
michael@0 10 android:layout_width="48dip"
michael@0 11 android:layout_height="48dip"
michael@0 12 android:layout_marginLeft="10dp"
michael@0 13 android:scaleType="centerInside"/>
michael@0 14
michael@0 15 <org.mozilla.gecko.widget.EllipsisTextView
michael@0 16 android:id="@+id/text"
michael@0 17 android:layout_width="0dip"
michael@0 18 android:layout_height="fill_parent"
michael@0 19 android:layout_weight="1"
michael@0 20 android:layout_marginLeft="10dp"
michael@0 21 android:paddingTop="7dp"
michael@0 22 android:paddingBottom="7dp"
michael@0 23 android:textAppearance="@style/TextAppearance.Widget.HomeBanner"
michael@0 24 android:layout_gravity="bottom"
michael@0 25 android:gravity="center_vertical"
michael@0 26 gecko:ellipsizeAtLine="3"/>
michael@0 27
michael@0 28 <ImageButton android:id="@+id/close"
michael@0 29 android:layout_width="34dip"
michael@0 30 android:layout_height="fill_parent"
michael@0 31 android:background="@drawable/home_banner"
michael@0 32 android:scaleType="center"
michael@0 33 android:contentDescription="@string/close_tab"
michael@0 34 android:src="@drawable/tab_close"/>
michael@0 35
michael@0 36 </merge>

mercurial