mobile/android/base/resources/layout/tabs_tray.xml
author Sriram Ramasubramanian <sriram@mozilla.com>
Fri, 27 Jan 2012 13:50:26 -0800
changeset 85620 be23da096c4085bc1c05376d10f0af785cb893ac
parent 85616 4df33078d5d08d308e71e4457370c5a332876cb5
child 85868 ab671e01a7da7459b589c3dc1267a5053b641235
permissions -rw-r--r--
Bug 715213: Move "+" to left side on Tab menu. [r=mfinkle]

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
              android:id="@+id/container"
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:orientation="vertical">

     <view class="org.mozilla.gecko.TabsTray$TabsListContainer"
           android:layout_width="match_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="match_parent"
                       android:layout_height="2dp"
                       android:background="@drawable/tabs_tray_list_divider"/>

         <LinearLayout android:id="@+id/add_tab"
                       android:layout_width="match_parent"
                       android:layout_height="50dip"
                       android:orientation="horizontal"
                       android:gravity="center|left"
                       android:background="@drawable/tabs_tray_list_selector">

             <ImageView android:layout_width="20dip"
                        android:layout_height="20dip"
                        android:layout_marginLeft="20dip"
                        android:src="@drawable/tab_new"/>

         </LinearLayout>

     </view>

</LinearLayout>