From fec402cf50fbdb88b89eb7b37e8c86f5886d82e1 Mon Sep 17 00:00:00 2001 From: Andy2 Date: Wed, 16 Feb 2011 18:53:47 -0800 Subject: [PATCH] display chat history as a scrolling list of TextView objects rather than in a single TextView so different styles can be applied based on whether text is from local or remote device. For now text is just grey if local. --- xwords4/android/XWords4/res/layout/chat.xml | 51 +++++++++++-------- .../XWords4/res/layout/chat_history_local.xml | 7 +++ .../res/layout/chat_history_remote.xml | 6 +++ .../org/eehouse/android/xw4/ChatActivity.java | 22 +++++++- 4 files changed, 63 insertions(+), 23 deletions(-) create mode 100644 xwords4/android/XWords4/res/layout/chat_history_local.xml create mode 100644 xwords4/android/XWords4/res/layout/chat_history_remote.xml diff --git a/xwords4/android/XWords4/res/layout/chat.xml b/xwords4/android/XWords4/res/layout/chat.xml index 1c322a949..e1f02e40b 100644 --- a/xwords4/android/XWords4/res/layout/chat.xml +++ b/xwords4/android/XWords4/res/layout/chat.xml @@ -6,30 +6,39 @@ android:layout_height="fill_parent" > - - - - - + + + -