diff --git a/res/menu/main_menu.xml b/res/menu/main_menu.xml
index 3d73fe82..3e3a466e 100644
--- a/res/menu/main_menu.xml
+++ b/res/menu/main_menu.xml
@@ -25,7 +25,7 @@
+ android:showAsAction=""/>
- 1000 && display.getHeight() >= 600) {
+ if (display.getWidth() > minWidth && display.getHeight() >= minHeight) {
m_smallScreenMode = false;
-
+
setContentView(R.layout.main);
} else {
m_smallScreenMode = true;
setContentView(R.layout.main_small);
}
-
+
+ Log.d(TAG, "m_smallScreenMode=" + m_smallScreenMode);
+ Log.d(TAG, "orientation=" + display.getOrientation());
if (android.os.Build.VERSION.SDK_INT > 10) {
LayoutTransition transitioner = new LayoutTransition();