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.

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

mercurial