android-calculatorpp/calculatorpp/res/values/styles-common.xml

50 lines
1.9 KiB
XML
Raw Normal View History

2012-09-27 04:46:09 -04:00
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2009-2011. Created by serso aka se.solovyev.
~ For more information, please, contact se.solovyev@gmail.com
~ or visit http://se.solovyev.org
-->
<resources>
<style name="button_style" parent="button_style_parent">
2012-09-28 06:44:49 -04:00
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
2012-09-27 04:46:09 -04:00
<item name="android:focusable">true</item>
2012-09-28 06:44:49 -04:00
<item name="android:background">@drawable/metro_button_blue</item>
</style>
<style name="keyboard_button_style" parent="keyboard_button_style_parent">
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">fill_parent</item>
<item name="android:layout_weight">1</item>
<item name="android:focusable">true</item>
<item name="android:background">@drawable/default_button_dark</item>
<item name="android:layout_margin">@dimen/button_margin</item>
</style>
2012-09-27 04:46:09 -04:00
<style name="editor_style" parent="editor_style_parent">
<item name="android:gravity">left|top</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">fill_parent</item>
</style>
<style name="display_style" parent="display_style_parent">
<item name="android:gravity">top|right</item>
<item name="android:layout_width">match_parent</item>
<item name="android:layout_height">match_parent</item>
</style>
<style name="about_style" parent="about_style_parent">
<item name="android:gravity">center</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">fill_parent</item>
</style>
<style name="default_text">
<item name="android:background">@android:color/transparent</item>
<item name="android:textColor">@color/default_text_color</item>
</style>
</resources>