Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | <?xml version="1.0" encoding="utf-8"?> |
michael@0 | 2 | <!-- |
michael@0 | 3 | ** |
michael@0 | 4 | ** Copyright 2007, The Android Open Source Project |
michael@0 | 5 | ** |
michael@0 | 6 | ** Licensed under the Apache License, Version 2.0 (the "License"); |
michael@0 | 7 | ** you may not use this file except in compliance with the License. |
michael@0 | 8 | ** You may obtain a copy of the License at |
michael@0 | 9 | ** |
michael@0 | 10 | ** http://www.apache.org/licenses/LICENSE-2.0 |
michael@0 | 11 | ** |
michael@0 | 12 | ** Unless required by applicable law or agreed to in writing, software |
michael@0 | 13 | ** distributed under the License is distributed on an "AS IS" BASIS, |
michael@0 | 14 | ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
michael@0 | 15 | ** See the License for the specific language governing permissions and |
michael@0 | 16 | ** limitations under the License. |
michael@0 | 17 | */ |
michael@0 | 18 | --> |
michael@0 | 19 | |
michael@0 | 20 | <!-- Layout of date picker--> |
michael@0 | 21 | |
michael@0 | 22 | <!-- Warning: everything within the "pickers" layout is removed and re-ordered |
michael@0 | 23 | depending on the date format selected by the user. |
michael@0 | 24 | --> |
michael@0 | 25 | |
michael@0 | 26 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
michael@0 | 27 | android:id="@+id/datetime_picker" |
michael@0 | 28 | android:layout_width="wrap_content" |
michael@0 | 29 | android:layout_height="wrap_content" |
michael@0 | 30 | android:layout_gravity="center_horizontal" |
michael@0 | 31 | android:orientation="horizontal" |
michael@0 | 32 | android:gravity="center"> |
michael@0 | 33 | |
michael@0 | 34 | <LinearLayout android:id="@+id/spinners" |
michael@0 | 35 | android:layout_width="wrap_content" |
michael@0 | 36 | android:layout_height="wrap_content" |
michael@0 | 37 | android:layout_weight="1" |
michael@0 | 38 | android:orientation="vertical" |
michael@0 | 39 | android:gravity="center"> |
michael@0 | 40 | |
michael@0 | 41 | <LinearLayout android:id="@+id/date_spinners" |
michael@0 | 42 | android:layout_width="wrap_content" |
michael@0 | 43 | android:layout_height="wrap_content" |
michael@0 | 44 | android:orientation="horizontal" |
michael@0 | 45 | android:layout_marginLeft="1dip" |
michael@0 | 46 | android:layout_marginRight="1dip" |
michael@0 | 47 | android:layout_weight="1" |
michael@0 | 48 | android:gravity="center"> |
michael@0 | 49 | |
michael@0 | 50 | <!-- Month --> |
michael@0 | 51 | <android.widget.NumberPicker |
michael@0 | 52 | android:id="@+id/month" |
michael@0 | 53 | android:layout_width="60dip" |
michael@0 | 54 | android:layout_height="wrap_content" |
michael@0 | 55 | android:layout_marginLeft="1dip" |
michael@0 | 56 | android:layout_marginRight="1dip" |
michael@0 | 57 | android:focusable="true" |
michael@0 | 58 | android:focusableInTouchMode="true" |
michael@0 | 59 | /> |
michael@0 | 60 | |
michael@0 | 61 | <!-- Week --> |
michael@0 | 62 | <android.widget.NumberPicker |
michael@0 | 63 | android:id="@+id/week" |
michael@0 | 64 | android:layout_width="60dip" |
michael@0 | 65 | android:layout_height="wrap_content" |
michael@0 | 66 | android:layout_marginLeft="1dip" |
michael@0 | 67 | android:layout_marginRight="1dip" |
michael@0 | 68 | android:focusable="true" |
michael@0 | 69 | android:focusableInTouchMode="true" |
michael@0 | 70 | /> |
michael@0 | 71 | |
michael@0 | 72 | <!-- Day --> |
michael@0 | 73 | <android.widget.NumberPicker |
michael@0 | 74 | android:id="@+id/day" |
michael@0 | 75 | android:layout_width="60dip" |
michael@0 | 76 | android:layout_height="wrap_content" |
michael@0 | 77 | android:layout_marginLeft="1dip" |
michael@0 | 78 | android:layout_marginRight="1dip" |
michael@0 | 79 | android:focusable="true" |
michael@0 | 80 | android:focusableInTouchMode="true" |
michael@0 | 81 | /> |
michael@0 | 82 | |
michael@0 | 83 | <!-- Year --> |
michael@0 | 84 | <android.widget.NumberPicker |
michael@0 | 85 | android:id="@+id/year" |
michael@0 | 86 | android:layout_width="75dip" |
michael@0 | 87 | android:layout_height="wrap_content" |
michael@0 | 88 | android:layout_marginLeft="1dip" |
michael@0 | 89 | android:layout_marginRight="1dip" |
michael@0 | 90 | android:focusable="true" |
michael@0 | 91 | android:focusableInTouchMode="true" |
michael@0 | 92 | /> |
michael@0 | 93 | |
michael@0 | 94 | </LinearLayout> |
michael@0 | 95 | |
michael@0 | 96 | <LinearLayout android:id="@+id/time_spinners" |
michael@0 | 97 | android:layout_width="wrap_content" |
michael@0 | 98 | android:layout_height="wrap_content" |
michael@0 | 99 | android:orientation="horizontal" |
michael@0 | 100 | android:layout_marginLeft="1dip" |
michael@0 | 101 | android:layout_marginRight="1dip" |
michael@0 | 102 | android:layout_weight="1" |
michael@0 | 103 | android:gravity="center"> |
michael@0 | 104 | |
michael@0 | 105 | <!-- Hour --> |
michael@0 | 106 | <android.widget.NumberPicker |
michael@0 | 107 | android:id="@+id/hour" |
michael@0 | 108 | android:layout_width="60dip" |
michael@0 | 109 | android:layout_height="wrap_content" |
michael@0 | 110 | android:layout_marginLeft="1dip" |
michael@0 | 111 | android:layout_marginRight="1dip" |
michael@0 | 112 | android:focusable="true" |
michael@0 | 113 | android:focusableInTouchMode="true" |
michael@0 | 114 | /> |
michael@0 | 115 | |
michael@0 | 116 | <TextView android:id="@+id/mincolon" |
michael@0 | 117 | android:text=":" |
michael@0 | 118 | android:layout_width="wrap_content" |
michael@0 | 119 | android:layout_height="wrap_content" |
michael@0 | 120 | android:layout_marginLeft="1dip" |
michael@0 | 121 | android:layout_marginRight="1dip"/> |
michael@0 | 122 | |
michael@0 | 123 | <!-- Minute --> |
michael@0 | 124 | <android.widget.NumberPicker |
michael@0 | 125 | android:id="@+id/minute" |
michael@0 | 126 | android:layout_width="60dip" |
michael@0 | 127 | android:layout_height="wrap_content" |
michael@0 | 128 | android:layout_marginLeft="1dip" |
michael@0 | 129 | android:layout_marginRight="1dip" |
michael@0 | 130 | android:focusable="true" |
michael@0 | 131 | android:focusableInTouchMode="true" |
michael@0 | 132 | /> |
michael@0 | 133 | |
michael@0 | 134 | <!-- AMPM --> |
michael@0 | 135 | <android.widget.NumberPicker |
michael@0 | 136 | android:id="@+id/ampm" |
michael@0 | 137 | android:layout_width="60dip" |
michael@0 | 138 | android:layout_height="wrap_content" |
michael@0 | 139 | android:layout_marginLeft="1dip" |
michael@0 | 140 | android:layout_marginRight="1dip" |
michael@0 | 141 | android:focusable="true" |
michael@0 | 142 | android:focusableInTouchMode="true" |
michael@0 | 143 | /> |
michael@0 | 144 | |
michael@0 | 145 | </LinearLayout> |
michael@0 | 146 | |
michael@0 | 147 | </LinearLayout> |
michael@0 | 148 | |
michael@0 | 149 | </LinearLayout> |