gecko/mobile/android/base/resources/layout/tabs_tray.xml
2012-05-21 12:12:37 +01:00

66 lines
3.3 KiB
XML

<?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/. -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/container"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical">
<view class="org.mozilla.gecko.TabsTray$TabsListContainer"
android:id="@+id/list_container"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:background="@drawable/tabs_tray_bg_repeat">
<ListView android:id="@+id/list"
style="@style/TabsList"
android:divider="@drawable/tabs_tray_list_divider"/>
<LinearLayout android:layout_width="fill_parent"
android:layout_height="2dp"
android:background="@drawable/tabs_tray_list_divider"/>
<RelativeLayout android:id="@+id/toolbar"
android:layout_width="fill_parent"
android:layout_height="50dip"
android:background="@drawable/tabs_tray_bg_repeat">
<ImageButton android:id="@+id/add_tab"
android:layout_width="60dip"
android:layout_height="50dip"
android:layout_alignParentLeft="true"
android:paddingTop="15dip"
android:paddingBottom="15dip"
android:paddingLeft="20dip"
android:paddingRight="20dip"
android:src="@drawable/tab_new"
android:contentDescription="@string/new_tab"
android:background="@drawable/tabs_tray_list_selector"/>
<org.mozilla.gecko.LinkTextView android:id="@+id/remote_tabs"
android:layout_width="wrap_content"
android:layout_height="50dip"
android:layout_alignParentRight="true"
android:gravity="center_vertical"
android:paddingRight="20dip"
android:text="@string/remote_tabs"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="#E5F2FF"
android:shadowColor="#000000"
android:shadowRadius="1"
android:shadowDx="0"
android:shadowDy="1"
android:singleLine="true"
android:ellipsize="middle"
android:visibility="gone"/>
</RelativeLayout>
</view>
</LinearLayout>