2012-06-10 23:44:50 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
|
|
|
|
2013-06-27 23:51:50 +00:00
|
|
|
<org.mozilla.gecko.widget.TabRow xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
style="@style/TabsItem"
|
|
|
|
android:focusable="true"
|
|
|
|
android:id="@+id/info"
|
2014-06-20 16:21:31 +00:00
|
|
|
android:layout_width="match_parent"
|
2013-06-27 23:51:50 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingTop="6dip"
|
|
|
|
android:paddingBottom="6dip"
|
|
|
|
android:paddingLeft="1dip"
|
|
|
|
android:paddingRight="1dip"
|
|
|
|
android:gravity="center">
|
2013-01-25 01:08:08 +00:00
|
|
|
|
|
|
|
<RelativeLayout android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_margin="6dip"
|
|
|
|
android:padding="4dip"
|
|
|
|
android:background="@drawable/tab_thumbnail"
|
|
|
|
android:duplicateParentState="true">
|
|
|
|
|
2013-06-27 23:51:50 +00:00
|
|
|
<org.mozilla.gecko.widget.ThumbnailView android:id="@+id/thumbnail"
|
|
|
|
android:layout_width="@dimen/tab_thumbnail_width"
|
|
|
|
android:layout_height="@dimen/tab_thumbnail_height"
|
|
|
|
android:src="@drawable/tab_thumbnail_default"/>
|
2013-02-14 21:23:15 +00:00
|
|
|
|
|
|
|
<LinearLayout android:layout_width="@dimen/tab_thumbnail_width"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal"
|
2013-02-15 20:51:30 +00:00
|
|
|
android:background="#EFFF"
|
2013-02-22 07:23:16 +00:00
|
|
|
android:layout_below="@id/thumbnail"
|
2013-02-14 21:23:15 +00:00
|
|
|
android:duplicateParentState="true">
|
|
|
|
|
|
|
|
<TextView android:id="@+id/title"
|
|
|
|
android:layout_width="0dip"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1.0"
|
|
|
|
android:padding="4dip"
|
|
|
|
style="@style/TabRowTextAppearance"
|
|
|
|
android:textSize="12sp"
|
|
|
|
android:textColor="#FF222222"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:duplicateParentState="true"/>
|
|
|
|
|
|
|
|
<ImageButton android:id="@+id/close"
|
2013-04-08 13:38:39 +00:00
|
|
|
style="@style/TabsItemClose"
|
2013-02-14 21:23:15 +00:00
|
|
|
android:layout_width="32dip"
|
2014-06-20 16:21:31 +00:00
|
|
|
android:layout_height="match_parent"
|
2013-03-13 19:16:09 +00:00
|
|
|
android:background="@drawable/action_bar_button_inverse"
|
2013-02-14 21:23:15 +00:00
|
|
|
android:scaleType="center"
|
|
|
|
android:contentDescription="@string/close_tab"
|
|
|
|
android:src="@drawable/tab_close"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
2013-01-25 01:08:08 +00:00
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
2013-06-27 23:51:50 +00:00
|
|
|
</org.mozilla.gecko.widget.TabRow>
|