android-calculatorpp/calculatorpp/res/values/styles-default-theme.xml

66 lines
2.8 KiB
XML
Raw Normal View History

2012-01-14 18:02:00 -05: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="default_digit_button_style" parent="button_style">
<item name="android:background">@drawable/default_button</item>
</style>
<style name="default_control_button_style" parent="button_style"/>
2012-02-08 05:09:56 -05:00
<style name="default_operation_button_style" parent="default_digit_button_style">
<item name="android:textColor">@color/button_operator_text_color</item>
</style>
2012-01-14 18:02:00 -05:00
<style name="default_control_image_button_style" parent="default_control_button_style">
<item name="android:padding">6dp</item>
</style>
2012-09-26 14:50:02 -04:00
<style name="default_second_pane_style">
<item name="android:background">@color/second_pane_background</item>
<item name="android:layout_margin">5dp</item>
</style>
2012-09-26 16:10:33 -04:00
<style name="default_fragment_list_view_style">
<item name="android:id">@android:id/list</item>
<item name="android:divider">@null</item>
<item name="android:dividerHeight">0dp</item>
<item name="android:cacheColorHint">@android:color/transparent</item>
<item name="android:layout_height">match_parent</item>
<item name="android:layout_width">match_parent</item>
<item name="android:layout_weight">1</item>
</style>
2012-09-26 14:50:02 -04:00
<style name="default_fragment_title_style">
<item name="android:textColor">@android:color/white</item>
<item name="android:textSize">25sp</item>
2012-09-26 16:10:33 -04:00
<item name="android:layout_marginLeft">6dp</item>
</style>
<style name="default_button_style" parent="button_style">
<item name="android:background">@drawable/metro_button_blue</item>
2012-09-26 14:50:02 -04:00
</style>
<style name="default_fragment_layout_style">
<item name="android:layout_marginBottom">5dp</item>
<item name="android:layout_marginTop">5dp</item>
<item name="android:layout_marginLeft">5dp</item>
<item name="android:layout_marginRight">0dp</item>
</style>
<style name="default_theme" parent="Theme.Sherlock">
2012-01-14 18:02:00 -05:00
<item name="digitButtonStyle">@style/default_digit_button_style</item>
<item name="controlButtonStyle">@style/default_control_button_style</item>
<item name="controlImageButtonStyle">@style/default_control_image_button_style</item>
2012-02-08 05:09:56 -05:00
<item name="operationButtonStyle">@style/default_operation_button_style</item>
2012-09-26 14:50:02 -04:00
<item name="fragmentLayoutStyle">@style/default_fragment_layout_style</item>
<item name="secondPaneStyle">@style/default_second_pane_style</item>
<item name="fragmentTitleStyle">@style/default_fragment_title_style</item>
2012-09-26 16:10:33 -04:00
<item name="fragmentListViewStyle">@style/default_fragment_list_view_style</item>
<item name="buttonStyle">@style/default_button_style</item>
2012-01-14 18:02:00 -05:00
</style>
</resources>