mobile/android/base/resources/layout/home_pager.xml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mobile/android/base/resources/layout/home_pager.xml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,24 @@
     1.4 +<?xml version="1.0" encoding="utf-8"?>
     1.5 +<!-- This Source Code Form is subject to the terms of the Mozilla Public
     1.6 +   - License, v. 2.0. If a copy of the MPL was not distributed with this
     1.7 +   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
     1.8 +
     1.9 +<!-- This file is used to include the home pager in gecko app
    1.10 +     layout based on screen size -->
    1.11 +
    1.12 +<org.mozilla.gecko.home.HomePager xmlns:android="http://schemas.android.com/apk/res/android"
    1.13 +                                  xmlns:gecko="http://schemas.android.com/apk/res-auto"
    1.14 +                                  android:id="@+id/home_pager"
    1.15 +                                  android:layout_width="fill_parent"
    1.16 +                                  android:layout_height="fill_parent"
    1.17 +                                  android:background="@android:color/white">
    1.18 +
    1.19 +    <org.mozilla.gecko.home.HomePagerTabStrip android:layout_width="fill_parent"
    1.20 +                                              android:layout_height="32dip"
    1.21 +                                              android:layout_gravity="top"
    1.22 +                                              android:gravity="bottom"
    1.23 +                                              android:background="@color/background_light"
    1.24 +                                              gecko:tabIndicatorColor="@color/text_color_highlight"
    1.25 +                                              android:textAppearance="@style/TextAppearance.Widget.HomePagerTabStrip"/>
    1.26 +
    1.27 +</org.mozilla.gecko.home.HomePager>

mercurial