From e292056b9c5fac1cee14d405f376117686ca92e5 Mon Sep 17 00:00:00 2001 From: Andy2 Date: Thu, 6 Oct 2011 06:26:46 -0700 Subject: [PATCH 1/2] add new activity (with layout) to replace dialogs for word lookup. Lots of code moved there from BoardActivity. --- xwords4/android/XWords4/AndroidManifest.xml | 5 + xwords4/android/XWords4/res/layout/lookup.xml | 29 +++ .../android/XWords4/res/menu/board_menu.xml | 7 +- .../android/XWords4/res/values/strings.xml | 1 + .../eehouse/android/xw4/BoardActivity.java | 189 ++------------- .../eehouse/android/xw4/LookupActivity.java | 216 ++++++++++++++++++ 6 files changed, 274 insertions(+), 173 deletions(-) create mode 100644 xwords4/android/XWords4/res/layout/lookup.xml create mode 100644 xwords4/android/XWords4/src/org/eehouse/android/xw4/LookupActivity.java diff --git a/xwords4/android/XWords4/AndroidManifest.xml b/xwords4/android/XWords4/AndroidManifest.xml index 30ccb4812..2959fc9c8 100644 --- a/xwords4/android/XWords4/AndroidManifest.xml +++ b/xwords4/android/XWords4/AndroidManifest.xml @@ -83,6 +83,11 @@ > + + + diff --git a/xwords4/android/XWords4/res/layout/lookup.xml b/xwords4/android/XWords4/res/layout/lookup.xml new file mode 100644 index 000000000..429e84ad4 --- /dev/null +++ b/xwords4/android/XWords4/res/layout/lookup.xml @@ -0,0 +1,29 @@ + + + + + + + + + + + + +