1<?xml version="1.0" encoding="utf-8"?> 2<resources> 3 <style name="DemoKitTextBase" parent="@android:style/TextAppearance.Medium"> 4 <item name="android:layout_height">wrap_content</item> 5 <item name="android:layout_width">wrap_content</item> 6 <item name="android:typeface">sans</item> 7 <item name="android:textSize">24dip</item> 8 <item name="android:textColor">@color/DemoKitTextWhite</item> 9 <item name="android:background">@null</item> 10 <item name="android:includeFontPadding">false</item> 11 </style> 12 <style name="DemoKitControlLabel" parent="@style/DemoKitTextBase"> 13 <item name="android:textSize">15dip</item> 14 <item name="android:textColor">@color/DemoKitLabelGray</item> 15 <item name="android:includeFontPadding">true</item> 16 <item name="android:layout_height">25dip</item> 17 <item name="android:lineSpacingExtra">2dip</item> 18 </style> 19 <style name="DemoKitControlLightLowerLabel" parent="@style/DemoKitTextBase"> 20 <item name="android:layout_marginTop">-2dip</item> 21 <item name="android:textSize">15dip</item> 22 <item name="android:textColor">@color/DemoKitTextWhite</item> 23 </style> 24 <style name="DemoKitControlLightLowerLabelConst" parent="@style/DemoKitControlLightLowerLabel"> 25 <item name="android:textColor">@color/DemoKitLabelGray</item> 26 </style> 27 <style name="DemoKitMeasurement" parent="@style/DemoKitTextBase"> 28 <item name="android:textSize">40dip</item> 29 <item name="android:layout_marginTop">-8dip</item> 30 <item name="android:layout_marginBottom">0dip</item> 31 <item name="android:layout_gravity">top</item> 32 </style> 33 <style name="DemoKitLEDText" parent="@style/DemoKitControlLabel"> 34 <item name="android:layout_width">wrap_content</item> 35 <item name="android:layout_height">wrap_content</item> 36 </style> 37 <style name="DemoKitNoDevice" parent="@style/DemoKitTextBase"> 38 <item name="android:textSize">30dip</item> 39 </style> 40 <style name="DemoKitMeasurementSuffix" parent="@style/DemoKitMeasurement"> 41 <item name="android:textSize">20dip</item> 42 </style> 43 <style name="DemoKitButtonDisplay"> 44 <item name="android:layout_height">wrap_content</item> 45 <item name="android:layout_width">wrap_content</item> 46 <item name="android:layout_weight">1</item> 47 <item name="android:gravity">center_horizontal|bottom</item> 48 <item name="android:layout_gravity">center</item> 49 <item name="android:layout_margin">2dip</item> 50 <item name="android:padding">2dip</item> 51 </style> 52 <style name="DemoKitRelayButton" parent="@style/DemoKitTextBase"> 53 <item name="android:textSize">15dip</item> 54 <item name="android:layout_marginTop">-10dip</item> 55 <item name="android:layout_height">70dip</item> 56 <item name="android:layout_width">fill_parent</item> 57 <item name="android:textColor">@color/DemoKitTextWhite</item> 58 <item name="android:gravity">center</item> 59 <item name="android:background">@drawable/toggle_button_off_holo_dark</item> 60 </style> 61</resources> 62