From 0579253b8db77a3b49d9ef093d5e45e1f45a4917 Mon Sep 17 00:00:00 2001 From: Eric House Date: Mon, 1 Oct 2012 07:24:45 -0700 Subject: [PATCH] Also override TextView to show turn left there. Works, requiring only that actual percentage of turn remainning be calculated. --- .../XWords4/res/layout/game_list_item.xml | 17 ++++--- .../eehouse/android/xw4/ExpiringTextView.java | 51 +++++++++++++++++++ .../eehouse/android/xw4/GameListAdapter.java | 12 ++--- 3 files changed, 63 insertions(+), 17 deletions(-) create mode 100644 xwords4/android/XWords4/src/org/eehouse/android/xw4/ExpiringTextView.java diff --git a/xwords4/android/XWords4/res/layout/game_list_item.xml b/xwords4/android/XWords4/res/layout/game_list_item.xml index 426cbc1f5..2a5719276 100644 --- a/xwords4/android/XWords4/res/layout/game_list_item.xml +++ b/xwords4/android/XWords4/res/layout/game_list_item.xml @@ -33,14 +33,15 @@ android:layout_height="wrap_content" > - +