android-calculatorpp/res/values/styles.xml

39 lines
1.4 KiB
XML
Raw Normal View History

2011-06-23 17:09:13 -04:00
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="editTextInputStyle">
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:typeface">monospace</item>
</style>
2011-09-10 14:20:58 -04:00
<style name="button_style">
<item name="android:layout_width">match_parent</item>
<item name="android:layout_height">match_parent</item>
<item name="android:layout_weight">1</item>
<item name="android:focusable">true</item>
<item name="android:background">@drawable/button</item>
<item name="android:layout_marginLeft">1dp</item>
</style>
<style name="digitButtonStyle" parent="button_style">
<item name="android:background">@drawable/blue_button</item>
</style>
2011-09-10 18:38:45 -04:00
<style name="controlButtonStyle" parent="button_style"/>
2011-09-10 14:20:58 -04:00
<style name="button_small_style" parent="button_style">
<item name="android:textSize">30dp</item>
</style>
<style name="display_style">
2011-09-10 18:38:45 -04:00
<item name="android:textSize">30dp</item>
<!-- <item name="android:background">#000000</item>
<item name="android:textColor">#ffffff</item>-->
<item name="android:gravity">left|top</item>
2011-09-10 14:20:58 -04:00
<item name="android:layout_width">match_parent</item>
<item name="android:layout_height">match_parent</item>
</style>
</resources>