gecko/mobile/android/base/resources/layout/tabs_tray.xml

61 lines
3.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<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: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>