This patch series makes several improvements to the ConversationActivity
UI.

The first two patches help the activity remember its previous state
across screen orientation changes.

Patch 3 makes the conversation history size configurable.  In fairly
extensive usage, I haven't seen any significant impact to memory
footprint from increasing the history size from 30 to 150; it may be
worth changing the default.

Patch 4 displays the channel topic in the conversation title, which
makes it more visible and matches the behavior of other clients.

Patch 5 revises onKey handling for the input line to make it resemble
what other applications do and what the documentation suggests.  This is
primarily a cleanup patch.

Patch 6 includes options for the user to enable autocorrection and
autocapitalization of text, and also has improvements for people using
the default Android soft keyboard in landscape (fullscreen) mode.
It may be worth changing the default to allow text autocorrection.

Tested on a Nexus S running 2.3.4.  These patches depend on the other
two patch series I sent (the memory leaks series and the notifications
series).

Steven Luo (6):
  Don't scroll to a conversation in onCreate() unless it was previously
    selected
  Remember switched conversations across screen orientation changes
  Make the conversation history size a configurable preference
  Include channel topic in the displayed conversation title
  Rewrite onKey handling for the ConversationActivity input line
  IME behavior changes for the ConversationActivity

 application/res/layout/conversations.xml           |    3 +-
 application/res/values/settings.xml                |    9 +
 application/res/values/strings.xml                 |    6 +
 application/res/xml/preferences.xml                |   16 +
 .../org/yaaic/activity/ConversationActivity.java   |  523 ++++++++++++--------
 application/src/org/yaaic/adapter/DeckAdapter.java |   20 +-
 .../src/org/yaaic/adapter/MessageListAdapter.java  |    6 +-
 .../org/yaaic/command/handler/QueryHandler.java    |    1 +
 application/src/org/yaaic/irc/IRCConnection.java   |   14 +-
 .../yaaic/listener/ConversationClickListener.java  |    5 +-
 .../org/yaaic/listener/ConversationListener.java   |    7 +
 .../listener/ConversationSelectedListener.java     |    7 +-
 application/src/org/yaaic/model/Broadcast.java     |    1 +
 application/src/org/yaaic/model/Conversation.java  |   32 ++-
 application/src/org/yaaic/model/Settings.java      |   39 ++
 .../org/yaaic/receiver/ConversationReceiver.java   |    2 +
 .../src/org/yaaic/view/MessageListView.java        |   66 ++-
 17 files changed, 508 insertions(+), 249 deletions(-)

-- 
1.7.2.5

Reply via email to