mobile/android/base/resources/layout/home_visited_page.xml
author Lucas Rocha <lucasr@mozilla.com>
Mon, 08 Jul 2013 23:05:51 +0100
changeset 151374 d239a58564cbb079ee4da885102ddaa29f234722
child 151403 57d09922752517a3dc0603a404807c15b0cae08a
permissions -rw-r--r--
Bug 882715 - Implement history/last tabs buttons in VisitedPage (r=bnicholson)

<?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:layout_width="fill_parent"
              android:layout_height="fill_parent"
              android:orientation="vertical">

    <TextView android:id="@+id/empty_message"
              style="@style/AboutHome.EmptyMessage"
              android:layout_width="fill_parent"
              android:layout_height="fill_parent"
              android:text="@string/abouthome_visited_empty"
              android:visibility="gone"/>

    <org.mozilla.gecko.home.HomeListView
            android:id="@+id/visited_list"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:layout_weight="1"/>

    <LinearLayout android:id="@+id/buttons_container"
                  android:layout_width="fill_parent"
                  android:layout_height="wrap_content"
                  android:orientation="vertical"
                  android:background="@color/background_light"
                  android:visibility="gone">

        <Button android:id="@+id/history_button"
                style="@style/AboutHome.PageButton"
                android:text="@string/history_title"/>

        <View android:layout_width="fill_parent"
              android:layout_height="1dip"
              android:background="#FFD1D5DA"/>

        <Button android:id="@+id/tabs_button"
                style="@style/AboutHome.PageButton"
                android:text="@string/abouthome_last_tabs_title"/>

    </LinearLayout>

</LinearLayout>