mobile/android/base/resources/values-land/styles.xml
author Richard Newman <rnewman@mozilla.com>
Mon, 15 Sep 2014 10:47:37 -0700
changeset 228661 de389f79f43eb220128e1f408180980b78e212b7
parent 228643 37fe74353dce02f462dd4a54f8af32803ca63c49
child 229515 e724a389c6051de283c462502bbf5f0fd5ef0517
permissions -rw-r--r--
Bug 1022472 - Remove margins on default home screen panels. r=wesj Relanding with follow-up: fix test with incorrect assumptions. r=mfinkle

<?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="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>

    <!-- Tabs panel -->
    <style name="TabsPanelFrame" parent="TabsPanelFrameBase">
        <item name="android:orientation">horizontal</item>
        <item name="android:paddingTop">24dp</item>
    </style>

    <style name="TabsPanelFrame.PrivateTabs">
        <item name="android:paddingTop">0dp</item>
    </style>

    <style name="TabsPanelSection" parent="TabsPanelSectionBase">
        <item name="android:layout_weight">1</item>
    </style>

    <style name="TabsPanelSection.PrivateTabs.Header">
        <item name="android:paddingTop">10dp</item>
    </style>

    <style name="TabsPanelItem">
        <item name="android:layout_marginBottom">20dp</item>
        <item name="android:layout_gravity">left</item>
        <item name="android:gravity">left</item>
    </style>

    <style name="TabsPanelItem.Button" parent="TabsPanelItem.ButtonBase">
        <item name="android:paddingTop">12dp</item>
        <item name="android:paddingBottom">12dp</item>
        <item name="android:paddingLeft">6dp</item>
        <item name="android:paddingRight">6dp</item>
        <item name="android:layout_marginLeft">24dp</item>
        <item name="android:layout_marginRight">24dp</item>
    </style>

    <style name="TabsPanelItem.TextAppearance.Header.FXAccounts">
        <item name="android:visibility">gone</item>
    </style>

    <style name="TabsPanelItem.TextAppearance.Header.PrivateTabs">
        <item name="android:visibility">gone</item>
    </style>

    <style name="TabsPanelItem.TextAppearance.Linkified.LearnMore">
        <item name="android:layout_height">match_parent</item>
        <item name="android:gravity">center</item>
        <item name="android:layout_gravity">center</item>
    </style>

    <style name="TabsPanelItem.TextAppearance.Linkified.Resend">
        <item name="android:layout_height">match_parent</item>
        <item name="android:gravity">center</item>
        <item name="android:layout_gravity">center</item>
    </style>

    <style name="Widget.Home.HistoryListView">
        <item name="topDivider">true</item>
        <item name="android:scrollbarStyle">outsideOverlay</item>
    </style>

</resources>