From 6fdb1a4b8f2fa07cabc742d71048e8f5ecfdaac8 Mon Sep 17 00:00:00 2001 From: "David A. Madore" Date: Mon, 26 Apr 2010 18:47:42 +0200 Subject: Restructure deeply: now we have a single activity, with a dedicated adapter. The UnicodeArrayAdapter displays a list of UnicodeDisplayable, which can be either UnicodeCharacter or UnicodeCharacter.Range, and provides appropriate views for either one. Rather than changing activity, we change the ListAdapter. To simulate an activity stack, we capture the back key. --- res/layout/char_item.xml | 17 +++++++++++++++++ res/layout/list_item.xml | 17 ----------------- res/layout/map_item.xml | 8 -------- res/layout/range_item.xml | 8 ++++++++ 4 files changed, 25 insertions(+), 25 deletions(-) create mode 100644 res/layout/char_item.xml delete mode 100644 res/layout/list_item.xml delete mode 100644 res/layout/map_item.xml create mode 100644 res/layout/range_item.xml (limited to 'res') diff --git a/res/layout/char_item.xml b/res/layout/char_item.xml new file mode 100644 index 0000000..3b8c592 --- /dev/null +++ b/res/layout/char_item.xml @@ -0,0 +1,17 @@ + + + + + diff --git a/res/layout/list_item.xml b/res/layout/list_item.xml deleted file mode 100644 index 3b8c592..0000000 --- a/res/layout/list_item.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - - diff --git a/res/layout/map_item.xml b/res/layout/map_item.xml deleted file mode 100644 index fcaf32d..0000000 --- a/res/layout/map_item.xml +++ /dev/null @@ -1,8 +0,0 @@ - - diff --git a/res/layout/range_item.xml b/res/layout/range_item.xml new file mode 100644 index 0000000..fcaf32d --- /dev/null +++ b/res/layout/range_item.xml @@ -0,0 +1,8 @@ + + -- cgit v1.2.3