mobile/android/base/resources/layout/tabs_item_cell.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 <org.mozilla.gecko.widget.TabRow xmlns:android="http://schemas.android.com/apk/res/android"
michael@0 7 style="@style/TabsItem"
michael@0 8 android:focusable="true"
michael@0 9 android:id="@+id/info"
michael@0 10 android:layout_width="fill_parent"
michael@0 11 android:layout_height="wrap_content"
michael@0 12 android:paddingTop="6dip"
michael@0 13 android:paddingBottom="6dip"
michael@0 14 android:paddingLeft="1dip"
michael@0 15 android:paddingRight="1dip"
michael@0 16 android:gravity="center">
michael@0 17
michael@0 18 <RelativeLayout android:layout_width="wrap_content"
michael@0 19 android:layout_height="wrap_content"
michael@0 20 android:layout_margin="6dip"
michael@0 21 android:padding="4dip"
michael@0 22 android:background="@drawable/tab_thumbnail"
michael@0 23 android:duplicateParentState="true">
michael@0 24
michael@0 25 <org.mozilla.gecko.widget.ThumbnailView android:id="@+id/thumbnail"
michael@0 26 android:layout_width="@dimen/tab_thumbnail_width"
michael@0 27 android:layout_height="@dimen/tab_thumbnail_height"
michael@0 28 android:src="@drawable/tab_thumbnail_default"/>
michael@0 29
michael@0 30 <LinearLayout android:layout_width="@dimen/tab_thumbnail_width"
michael@0 31 android:layout_height="wrap_content"
michael@0 32 android:orientation="horizontal"
michael@0 33 android:background="#EFFF"
michael@0 34 android:layout_below="@id/thumbnail"
michael@0 35 android:duplicateParentState="true">
michael@0 36
michael@0 37 <TextView android:id="@+id/title"
michael@0 38 android:layout_width="0dip"
michael@0 39 android:layout_height="wrap_content"
michael@0 40 android:layout_weight="1.0"
michael@0 41 android:padding="4dip"
michael@0 42 style="@style/TabRowTextAppearance"
michael@0 43 android:textSize="12sp"
michael@0 44 android:textColor="#FF222222"
michael@0 45 android:singleLine="true"
michael@0 46 android:duplicateParentState="true"/>
michael@0 47
michael@0 48 <ImageButton android:id="@+id/close"
michael@0 49 style="@style/TabsItemClose"
michael@0 50 android:layout_width="32dip"
michael@0 51 android:layout_height="fill_parent"
michael@0 52 android:background="@drawable/action_bar_button_inverse"
michael@0 53 android:scaleType="center"
michael@0 54 android:contentDescription="@string/close_tab"
michael@0 55 android:src="@drawable/tab_close"/>
michael@0 56
michael@0 57 </LinearLayout>
michael@0 58
michael@0 59 </RelativeLayout>
michael@0 60
michael@0 61 </org.mozilla.gecko.widget.TabRow>

mercurial