gecko/mobile/android/base/resources/values/sync_styles.xml
Nick Alexander 3a710675c8 Bug 773293 - part 2/2: Make checkboxes in Android Sync Send Tab To Device activity match Fennec checkboxes. r=rnewman
--HG--
extra : rebase_source : e924490faf52ad04e996d6c02ecaee454adc4fef
2012-08-30 12:18:15 -07:00

116 lines
4.9 KiB
XML

<?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="SyncLayout">
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">fill_parent</item>
</style>
<style name="SyncLayout.Vertical" parent="@style/SyncLayout">
<item name="android:orientation">vertical</item>
</style>
<style name="SyncLayout.Horizontal" parent="@style/SyncLayout">
<item name="android:orientation">horizontal</item>
</style>
<!-- TextView Styles -->
<style name="SyncTextFrame" parent="@android:style/TextAppearance">
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">fill_parent</item>
<item name="android:layout_gravity">center</item>
<item name="android:padding">@dimen/SyncSpace</item>
<item name="android:orientation">vertical</item>
</style>
<style name="SyncTextItem" parent="@android:style/TextAppearance.Medium">
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:textSize">15dp</item>
</style>
<style name="SyncTextError" parent="@style/SyncTextItem">
<item name="android:textSize">15dp</item>
<item name="android:visibility">gone</item>
</style>
<style name="SyncLinkItem" parent="@style/SyncTextItem">
<item name="android:clickable">true</item>
<item name="android:textColor">#ACC4D5</item>
</style>
<style name="SyncTextTitle" parent="@style/SyncTextItem">
<item name="android:layout_gravity">center_vertical</item>
<item name="android:paddingLeft">4dp</item>
<item name="android:gravity">left</item>
<item name="android:textSize">20dp</item>
</style>
<!-- EditView Styles -->
<style name="SyncEditItem" parent="@android:style/Widget.EditText">
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:singleLine">true</item>
<item name="android:inputType">text|textNoSuggestions</item>
</style>
<style name="SyncEditPin" parent="@style/SyncEditItem">
<item name="android:layout_width">wrap_content</item>
<item name="android:gravity">center_horizontal</item>
<item name="android:ems">4</item>
<item name="android:maxLength">4</item>
<item name="android:imeOptions">actionNext|flagNoExtractUi</item>
</style>
<!-- Theme Styles -->
<style name="SyncTheme" parent="@style/Gecko" />
<!-- Outer container: a container with top, middle, and bottom
content in it. -->
<style name="SyncContainer" parent="@style/SyncLayout.Vertical" />
<!-- Top title bar: a text view with the Sync icon to the left. -->
<style name="SyncTop">
<item name="android:textAppearance">@android:style/TextAppearance.Large</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:gravity">center_vertical|left</item>
<item name="android:drawableLeft">@drawable/icon</item>
<item name="android:padding">4dp</item>
<item name="android:drawablePadding">4dp</item>
<item name="android:background">@android:drawable/bottom_bar</item>
</style>
<dimen name="SyncSpace">20dp</dimen>
<!-- Middle scroller: a scroll view with content in it. -->
<style name="SyncMiddle">
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">0dp</item>
<item name="android:layout_weight">1</item>
<item name="android:padding">@dimen/SyncSpace</item>
</style>
<!-- Bottom bar: a horizontal linear layout with buttons in it. -->
<style name="SyncBottom">
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:layout_gravity">center</item>
<item name="android:gravity">center</item>
<item name="android:background">@android:drawable/bottom_bar</item>
</style>
<style name="SyncButton" parent="@android:style/Widget.Button">
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:layout_weight">1</item>
</style>
<!-- Text Display Styles -->
<style name="SyncPinText" parent="@android:style/Widget.TextView">
<item name="android:layout_width">130sp</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:layout_gravity">center</item>
<item name="android:layout_marginBottom">5dp</item>
<item name="android:gravity">center</item>
<item name="android:background">@drawable/pin_background</item>
<item name="android:textColor">#FFFFFF</item>
<item name="android:textSize">35sp</item>
<item name="android:text">@string/sync_pin_default</item>
</style>
</resources>