From 327e2ddb12c0964dde5862ef792dec6d714176ff Mon Sep 17 00:00:00 2001 From: Sergey Solovyev Date: Tue, 13 Sep 2011 11:20:17 +0400 Subject: [PATCH] landscape mode enabled --- AndroidManifest.xml | 2 +- .../drag_button_calibration.xml | 4 +- res/layout-land/main.xml | 183 ++++++++++++++++++ res/layout-port/drag_button_calibration.xml | 53 +++++ res/{layout => layout-port}/main.xml | 62 +++--- res/values/styles.xml | 4 +- 6 files changed, 273 insertions(+), 35 deletions(-) rename res/{layout => layout-land}/drag_button_calibration.xml (94%) create mode 100644 res/layout-land/main.xml create mode 100644 res/layout-port/drag_button_calibration.xml rename res/{layout => layout-port}/main.xml (79%) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 76500aba..c18c9208 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -9,7 +9,7 @@ - + diff --git a/res/layout/drag_button_calibration.xml b/res/layout-land/drag_button_calibration.xml similarity index 94% rename from res/layout/drag_button_calibration.xml rename to res/layout-land/drag_button_calibration.xml index b01fdbc9..4ae71d79 100644 --- a/res/layout/drag_button_calibration.xml +++ b/res/layout-land/drag_button_calibration.xml @@ -27,7 +27,7 @@ calc:textDown="@string/c_down" a:layout_width="80dp" a:layout_height="80dp" - style="@style/digitButtonStyle"/> + style="@style/digit_button_style"/> + style="@style/digit_button_style"/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/res/layout-port/drag_button_calibration.xml b/res/layout-port/drag_button_calibration.xml new file mode 100644 index 00000000..4ae71d79 --- /dev/null +++ b/res/layout-port/drag_button_calibration.xml @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + +