Wed, 31 Dec 2014 07:22:50 +0100
Correct previous dual key logic pending first delivery installment.
michael@0 | 1 | <?xml version="1.0" encoding="utf-8"?> |
michael@0 | 2 | <!-- This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 3 | - License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 4 | - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> |
michael@0 | 5 | |
michael@0 | 6 | <resources> |
michael@0 | 7 | <style name="SyncLayout"> |
michael@0 | 8 | <item name="android:layout_width">fill_parent</item> |
michael@0 | 9 | <item name="android:layout_height">fill_parent</item> |
michael@0 | 10 | </style> |
michael@0 | 11 | <style name="SyncLayout.Vertical" parent="@style/SyncLayout"> |
michael@0 | 12 | <item name="android:orientation">vertical</item> |
michael@0 | 13 | </style> |
michael@0 | 14 | <style name="SyncLayout.Horizontal" parent="@style/SyncLayout"> |
michael@0 | 15 | <item name="android:orientation">horizontal</item> |
michael@0 | 16 | </style> |
michael@0 | 17 | |
michael@0 | 18 | <!-- TextView Styles --> |
michael@0 | 19 | <style name="SyncTextFrame" parent="@style/TextAppearance"> |
michael@0 | 20 | <item name="android:layout_width">fill_parent</item> |
michael@0 | 21 | <item name="android:layout_height">fill_parent</item> |
michael@0 | 22 | <item name="android:layout_gravity">center</item> |
michael@0 | 23 | <item name="android:padding">@dimen/SyncSpace</item> |
michael@0 | 24 | <item name="android:orientation">vertical</item> |
michael@0 | 25 | </style> |
michael@0 | 26 | <style name="SyncTextItem" parent="@style/TextAppearance.Medium"> |
michael@0 | 27 | <item name="android:layout_width">fill_parent</item> |
michael@0 | 28 | <item name="android:layout_height">wrap_content</item> |
michael@0 | 29 | <item name="android:textSize">15dp</item> |
michael@0 | 30 | </style> |
michael@0 | 31 | <style name="SyncTextError" parent="@style/SyncTextItem"> |
michael@0 | 32 | <item name="android:textSize">15dp</item> |
michael@0 | 33 | <item name="android:visibility">gone</item> |
michael@0 | 34 | </style> |
michael@0 | 35 | <style name="SyncLinkItem" parent="@style/SyncTextItem"> |
michael@0 | 36 | <item name="android:clickable">true</item> |
michael@0 | 37 | <item name="android:textColor">#0000EE</item> |
michael@0 | 38 | </style> |
michael@0 | 39 | <style name="SyncTextTitle" parent="@style/SyncTextItem"> |
michael@0 | 40 | <item name="android:layout_gravity">center_vertical</item> |
michael@0 | 41 | <item name="android:paddingLeft">4dp</item> |
michael@0 | 42 | <item name="android:gravity">left</item> |
michael@0 | 43 | <item name="android:textSize">20dp</item> |
michael@0 | 44 | </style> |
michael@0 | 45 | <!-- EditView Styles --> |
michael@0 | 46 | <style name="SyncEditItem" parent="@style/Widget.EditText"> |
michael@0 | 47 | <item name="android:layout_width">fill_parent</item> |
michael@0 | 48 | <item name="android:layout_height">wrap_content</item> |
michael@0 | 49 | <item name="android:singleLine">true</item> |
michael@0 | 50 | <item name="android:inputType">text|textNoSuggestions</item> |
michael@0 | 51 | </style> |
michael@0 | 52 | <style name="SyncEditPin" parent="@style/SyncEditItem"> |
michael@0 | 53 | <item name="android:layout_width">wrap_content</item> |
michael@0 | 54 | <item name="android:gravity">center_horizontal</item> |
michael@0 | 55 | <item name="android:ems">4</item> |
michael@0 | 56 | <item name="android:maxLength">4</item> |
michael@0 | 57 | <item name="android:imeOptions">actionNext|flagNoExtractUi</item> |
michael@0 | 58 | </style> |
michael@0 | 59 | |
michael@0 | 60 | <!-- Theme Styles --> |
michael@0 | 61 | <style name="SyncTheme" parent="@style/Gecko" /> |
michael@0 | 62 | |
michael@0 | 63 | <!-- Outer container: a container with top, middle, and bottom |
michael@0 | 64 | content in it. --> |
michael@0 | 65 | <style name="SyncContainer" parent="@style/SyncLayout.Vertical" /> |
michael@0 | 66 | |
michael@0 | 67 | <!-- Top title bar: a text view with the Sync icon to the left. --> |
michael@0 | 68 | <style name="SyncTop"> |
michael@0 | 69 | <item name="android:textAppearance">@style/TextAppearance.Large</item> |
michael@0 | 70 | <item name="android:layout_width">fill_parent</item> |
michael@0 | 71 | <item name="android:layout_height">wrap_content</item> |
michael@0 | 72 | <item name="android:gravity">center_vertical|left</item> |
michael@0 | 73 | <item name="android:drawableLeft">@drawable/icon</item> |
michael@0 | 74 | <item name="android:padding">4dp</item> |
michael@0 | 75 | <item name="android:drawablePadding">4dp</item> |
michael@0 | 76 | <item name="android:background">@android:drawable/bottom_bar</item> |
michael@0 | 77 | </style> |
michael@0 | 78 | |
michael@0 | 79 | <dimen name="SyncSpace">20dp</dimen> |
michael@0 | 80 | |
michael@0 | 81 | <!-- Middle scroller: a scroll view with content in it. --> |
michael@0 | 82 | <style name="SyncMiddle"> |
michael@0 | 83 | <item name="android:layout_width">fill_parent</item> |
michael@0 | 84 | <item name="android:layout_height">0dp</item> |
michael@0 | 85 | <item name="android:layout_weight">1</item> |
michael@0 | 86 | <item name="android:padding">@dimen/SyncSpace</item> |
michael@0 | 87 | </style> |
michael@0 | 88 | |
michael@0 | 89 | <!-- Bottom bar: a horizontal linear layout with buttons in it. --> |
michael@0 | 90 | <style name="SyncBottom"> |
michael@0 | 91 | <item name="android:layout_width">fill_parent</item> |
michael@0 | 92 | <item name="android:layout_height">wrap_content</item> |
michael@0 | 93 | <item name="android:layout_gravity">center</item> |
michael@0 | 94 | <item name="android:gravity">center</item> |
michael@0 | 95 | <item name="android:background">@android:drawable/bottom_bar</item> |
michael@0 | 96 | </style> |
michael@0 | 97 | |
michael@0 | 98 | <style name="SyncBottomContainer"> |
michael@0 | 99 | <item name="android:layout_width">match_parent</item> |
michael@0 | 100 | <item name="android:layout_height">wrap_content</item> |
michael@0 | 101 | <item name="android:divider">@android:drawable/divider_horizontal_bright</item> |
michael@0 | 102 | <item name="android:showDividers">beginning</item> |
michael@0 | 103 | <item name="android:orientation">vertical</item> |
michael@0 | 104 | </style> |
michael@0 | 105 | |
michael@0 | 106 | <style name="SyncButton" parent="@style/Widget.Button"> |
michael@0 | 107 | <item name="android:layout_width">fill_parent</item> |
michael@0 | 108 | <item name="android:layout_height">wrap_content</item> |
michael@0 | 109 | <item name="android:layout_weight">1</item> |
michael@0 | 110 | </style> |
michael@0 | 111 | |
michael@0 | 112 | <!-- Text Display Styles --> |
michael@0 | 113 | <style name="SyncPinText" parent="@style/Widget.TextView"> |
michael@0 | 114 | <item name="android:layout_width">130sp</item> |
michael@0 | 115 | <item name="android:layout_height">wrap_content</item> |
michael@0 | 116 | <item name="android:layout_gravity">center</item> |
michael@0 | 117 | <item name="android:layout_marginBottom">5dp</item> |
michael@0 | 118 | <item name="android:gravity">center</item> |
michael@0 | 119 | <item name="android:background">@drawable/sync_pin_background</item> |
michael@0 | 120 | <item name="android:textColor">#000</item> |
michael@0 | 121 | <item name="android:textSize">35sp</item> |
michael@0 | 122 | <item name="android:text">@string/sync_pin_default</item> |
michael@0 | 123 | </style> |
michael@0 | 124 | </resources> |