mobile/android/base/resources/values-large-v11/styles.xml
author Lucas Rocha <lucasr@mozilla.com>
Mon, 14 Jul 2014 17:31:50 +0100
changeset 209183 0b4778f147a12df315d2aa2b2b86c30a71279618
parent 209099 3c3f3fa6b3cca37d64c419c71cb4913690c68b99
permissions -rw-r--r--
Bug 1034167 - Part 2: Explicit set scrollbars in TabsTray. r=mfinkle, a=sledru

<?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/. -->

<resources>

    <style name="UrlBar.ImageButton.Forward">
        <item name="android:contentDescription">@string/forward</item>
        <item name="android:layout_width">45dip</item>
        <item name="android:layout_height">38dip</item>
        <item name="android:paddingLeft">10dp</item>
        <item name="android:paddingTop">7dp</item>
        <item name="android:paddingBottom">7dp</item>
        <item name="android:layout_gravity">center_vertical</item>
        <item name="android:layout_centerVertical">true</item>
        <item name="android:src">@drawable/ic_menu_forward</item>
        <item name="android:background">@drawable/url_bar_nav_button</item>
        <!-- Start with the button hidden -->
        <item name="android:alpha">0</item>
        <item name="android:layout_marginLeft">@dimen/forward_default_offset</item>
    </style>

   <style name="UrlBar.Button.Container">
        <item name="android:layout_marginTop">6dp</item>
        <item name="android:layout_marginBottom">6dp</item>
        <!-- Start with forward hidden -->
        <item name="android:orientation">horizontal</item>
    </style>

    <style name="TabsList" parent="TabsListBase">
         <item name="android:orientation">horizontal</item>
         <item name="android:scrollbars">horizontal</item>
    </style>

    <style name="TabsItem">
         <item name="android:nextFocusDown">@+id/close</item>
    </style>

    <style name="TabsItemClose">
         <item name="android:nextFocusUp">@+id/info</item>
    </style>

    <style name="Toast" parent="ToastBase">
        <item name="android:layout_width">400dp</item>

        <!-- Same as pre-19 Toast style, but with no left and right margins.
             They're removed since large tablets are never going to be only 400dp wide. -->
    </style>

    <style name="Widget.MenuItemActionBar">
        <item name="android:layout_width">@dimen/browser_toolbar_height</item>
        <item name="android:layout_height">@dimen/browser_toolbar_height</item>
        <item name="android:padding">@dimen/browser_toolbar_button_padding</item>
        <item name="android:background">@drawable/action_bar_button</item>
        <item name="android:scaleType">fitCenter</item>
    </style>

    <style name="Widget.BookmarksListView" parent="Widget.HomeListView">
        <item name="android:paddingTop">30dp</item>
        <item name="android:paddingLeft">32dp</item>
        <item name="android:paddingRight">32dp</item>
        <item name="android:scrollbarStyle">outsideOverlay</item>
        <item name="topDivider">true</item>
    </style>

    <style name="Widget.TopSitesGridView" parent="Widget.GridView">
        <item name="android:paddingLeft">5dp</item>
        <item name="android:paddingRight">5dp</item>
        <item name="android:paddingBottom">30dp</item>
        <item name="android:horizontalSpacing">10dp</item>
        <item name="android:verticalSpacing">10dp</item>
    </style>

    <style name="Widget.TopSitesListView" parent="Widget.BookmarksListView">
        <item name="topDivider">false</item>
    </style>

    <style name="Widget.ReadingListView" parent="Widget.BookmarksListView"/>

    <style name="Widget.Home.HistoryPanelTitle" parent="Widget.Home.HistoryTabIndicator">
        <item name="android:layout_marginLeft">32dp</item>
        <item name="android:layout_marginRight">32dp</item>
    </style>

    <style name="Widget.Home.HistoryListView">
        <item name="android:paddingLeft">32dp</item>
        <item name="android:paddingRight">32dp</item>
        <item name="android:scrollbarStyle">outsideOverlay</item>
    </style>

    <style name="Widget.HomeBanner">
        <item name="android:paddingLeft">32dp</item>
        <item name="android:paddingRight">32dp</item>
    </style>

    <!-- Tabs panel -->
    <style name="RemoteTabsPanelChild" parent="RemoteTabsPanelChildBase">
        <item name="android:paddingLeft">112dp</item>
        <item name="android:paddingRight">112dp</item>
    </style>

</resources>