Editor/display changes
This commit is contained in:
4
calculatorpp/res/values/dimensions.xml
Normal file
4
calculatorpp/res/values/dimensions.xml
Normal file
@@ -0,0 +1,4 @@
|
||||
<resources>
|
||||
<dimen name="button_margin">0.5dp</dimen>
|
||||
<dimen name="display_margin">@dimen/button_margin</dimen>
|
||||
</resources>
|
@@ -1,43 +1,43 @@
|
||||
<?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">
|
||||
<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">0.5dp</item>
|
||||
</style>
|
||||
|
||||
<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>
|
||||
<item name="android:layout_margin">0.5dp</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">@color/default_background</item>
|
||||
<item name="android:textColor">@color/default_text_color</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
<?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">
|
||||
<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>
|
||||
|
||||
<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>
|
||||
<item name="android:layout_margin">@dimen/display_margin</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">@color/default_background</item>
|
||||
<item name="android:textColor">@color/default_text_color</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
|
Reference in New Issue
Block a user