1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- 3 /* 4 * Copyright (C) 2011 Google Inc. 5 * Licensed to The Android Open Source Project. 6 * 7 * Licensed under the Apache License, Version 2.0 (the "License"); 8 * you may not use this file except in compliance with the License. 9 * You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, software 14 * distributed under the License is distributed on an "AS IS" BASIS, 15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 * See the License for the specific language governing permissions and 17 * limitations under the License. 18 */ 19 --> 20 <resources> 21 22 <style name="ComposeEditTextView"> 23 <item name="android:minHeight">40dip</item> 24 <item name="android:layout_gravity">center_vertical</item> 25 <item name="android:layout_height">wrap_content</item> 26 <item name="android:layout_width">match_parent</item> 27 <item name="android:background">@null</item> 28 </style> 29 30 <style name="ComposeFieldLayout" parent="android:Widget.Holo.Light.EditText"> 31 <item name="android:layout_height">wrap_content</item> 32 <item name="android:layout_width">match_parent</item> 33 <item name="android:addStatesFromChildren">true</item> 34 <item name="android:focusable">false</item> 35 <item name="android:focusableInTouchMode">false</item> 36 <item name="android:gravity">center_vertical</item> 37 <item name="android:minHeight">38dip</item> 38 <item name="android:paddingTop">0dip</item> 39 </style> 40 41 <!-- Spinner primary text is smaller than usual due to extra vertical padding in spinner asset --> 42 <style name="AccountSpinnerAnchorTextPrimary" parent="@android:style/TextAppearance.Holo.Widget.ActionBar.Title"> 43 <item name="android:textSize">14dp</item> 44 </style> 45 </resources> 46