From 47aa4b55c317519d3aa8ddf192f0571982b7c0ad Mon Sep 17 00:00:00 2001 From: serso Date: Tue, 1 Nov 2011 15:04:27 +0400 Subject: [PATCH] Auto adjusted result = fix for Xperia Ray --- res/layout/calc_display.xml | 5 +---- res/layout/calc_editor.xml | 1 - res/values-hdpi/styles.xml | 2 +- res/values-ldpi/styles.xml | 2 +- res/values-mdpi/styles.xml | 2 +- res/values/styles-common.xml | 2 +- res/values/styles.xml | 2 +- .../android/calculator/CalculatorDisplay.java | 11 +++++++++-- 8 files changed, 15 insertions(+), 12 deletions(-) diff --git a/res/layout/calc_display.xml b/res/layout/calc_display.xml index 4660891d..b843dfdc 100644 --- a/res/layout/calc_display.xml +++ b/res/layout/calc_display.xml @@ -10,8 +10,5 @@ xmlns:a="http://schemas.android.com/apk/res/android" a:id="@+id/calculatorDisplay" style="@style/display_style" - a:minLines="1" - a:maxLines="1" - a:textStyle="bold" a:scrollHorizontally="true" - a:scrollbars="none"/> \ No newline at end of file + a:scrollbars="horizontal"/> \ No newline at end of file diff --git a/res/layout/calc_editor.xml b/res/layout/calc_editor.xml index 71790b5d..af5992f6 100644 --- a/res/layout/calc_editor.xml +++ b/res/layout/calc_editor.xml @@ -15,7 +15,6 @@ a:id="@+id/calculatorEditor" style="@style/editor_style" a:inputType="textMultiLine" - a:maxLines="4" a:scrollbars="vertical" a:hint ="@string/c_calc_editor_hint"/> diff --git a/res/values-hdpi/styles.xml b/res/values-hdpi/styles.xml index 5491e63d..276197f4 100644 --- a/res/values-hdpi/styles.xml +++ b/res/values-hdpi/styles.xml @@ -17,7 +17,7 @@ diff --git a/res/values/styles.xml b/res/values/styles.xml index 5491e63d..276197f4 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -17,7 +17,7 @@