<?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 xmlns:android="http://schemas.android.com/apk/res/android">

    <style name="FxAccountMiddle">
        <item name="android:orientation">vertical</item>
        <item name="android:layout_width">500dp</item>
        <item name="android:minWidth">500dp</item>
        <item name="android:layout_height">wrap_content</item>
        <item name="android:layout_weight">1</item>
        <!-- layout_gravity controls where the middle container goes
             in its parent, and gravity controls where the container
             places its internal content.  Usually, the middle
             container is a LinearLayout and the container is a
             ScrollView.  In this case, layout_gravity="center"
             interacts badly with vertical scrolling.  What is needed
             is layout_gravity="center_horizontal" and
             gravity="center". -->
        <item name="android:gravity">center</item>
        <item name="android:layout_gravity">center_horizontal</item>
        <item name="android:paddingTop">25dp</item>
        <item name="android:paddingLeft">12dp</item>
        <item name="android:paddingRight">12dp</item>
        <item name="android:paddingBottom">15dp</item>
    </style>

</resources>
