mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 12:37:37 +00:00
106 lines
4.6 KiB
XML
106 lines
4.6 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">20dp</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:layout_margin">10dp</item>
|
|
<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">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="@android:style/Theme.NoTitleBar"/>
|
|
|
|
<style name="SyncTop">
|
|
<item name="android:layout_width">fill_parent</item>
|
|
<item name="android:layout_height">wrap_content</item>
|
|
<item name="android:gravity">left</item>
|
|
<item name="android:orientation">horizontal</item>
|
|
<item name="android:layout_alignParentTop">true</item>
|
|
<item name="android:background">@android:drawable/bottom_bar</item>
|
|
</style>
|
|
<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:layout_alignParentBottom">true</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>
|
|
<style name="SyncTopIcon">
|
|
<item name="android:src">@drawable/sync_fx_icon</item>
|
|
<item name="android:layout_width">wrap_content</item>
|
|
<item name="android:layout_height">wrap_content</item>
|
|
<item name="android:paddingTop">2dp</item>
|
|
<item name="android:paddingLeft">4dp</item>
|
|
</style>
|
|
</resources>
|