From c3c041864d51f9e9e53e2d67cb4cbd6b47a6bf2b Mon Sep 17 00:00:00 2001 From: Eric House Date: Wed, 10 Jun 2020 21:45:05 -0700 Subject: [PATCH] add under-construction icon as thumbnail fallback --- .../src/main/java/org/eehouse/android/xw4/GameListItem.java | 1 + xwords4/android/app/src/main/res/drawable/ic_uc.xml | 4 ++++ xwords4/android/app/src/main/res/layout/game_list_item.xml | 1 + xwords4/android/app/src/main/res/values/strings.xml | 3 ++- xwords4/android/img_src/uc.svg | 2 ++ 5 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 xwords4/android/app/src/main/res/drawable/ic_uc.xml create mode 100644 xwords4/android/img_src/uc.svg diff --git a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/GameListItem.java b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/GameListItem.java index 781fd3177..b3050fcf6 100644 --- a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/GameListItem.java +++ b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/GameListItem.java @@ -482,6 +482,7 @@ public class GameListItem extends LinearLayout private static Thread makeThumbThread() { return new Thread( new Runnable() { + @Override public void run() { for ( ; ; ) { diff --git a/xwords4/android/app/src/main/res/drawable/ic_uc.xml b/xwords4/android/app/src/main/res/drawable/ic_uc.xml new file mode 100644 index 000000000..4738487ca --- /dev/null +++ b/xwords4/android/app/src/main/res/drawable/ic_uc.xml @@ -0,0 +1,4 @@ + + + diff --git a/xwords4/android/app/src/main/res/layout/game_list_item.xml b/xwords4/android/app/src/main/res/layout/game_list_item.xml index 6d2d35847..8d038950c 100644 --- a/xwords4/android/app/src/main/res/layout/game_list_item.xml +++ b/xwords4/android/app/src/main/res/layout/game_list_item.xml @@ -66,6 +66,7 @@ Toolbar icons by Sarah Chu. Navbar icons from the Noun Project: \"archive\" by Trendy; \"rematch\" by - Becris; and \"swap\" by iconomania. + Becris; and \"swap\" by iconomania. \"Under Construction\" icon by + ultimatearm from flaticon.com Recent changes diff --git a/xwords4/android/img_src/uc.svg b/xwords4/android/img_src/uc.svg new file mode 100644 index 000000000..ba5118023 --- /dev/null +++ b/xwords4/android/img_src/uc.svg @@ -0,0 +1,2 @@ + +