From 2e5e10ef6d407be87189c78de1ef8e824ec75979 Mon Sep 17 00:00:00 2001 From: Eric House Date: Wed, 20 Nov 2013 07:56:05 -0800 Subject: [PATCH] move dialog asking to enable NFC into NFCUtils, and use it when creating a new game to be invited via (disabled) NFC --- .../android/XWords4/res/layout/new_game.xml | 2 +- .../eehouse/android/xw4/BoardActivity.java | 14 +---- .../src/org/eehouse/android/xw4/NFCUtils.java | 23 +++++++ .../eehouse/android/xw4/NewGameActivity.java | 62 +++++++++++-------- 4 files changed, 61 insertions(+), 40 deletions(-) diff --git a/xwords4/android/XWords4/res/layout/new_game.xml b/xwords4/android/XWords4/res/layout/new_game.xml index b884b8863..a83f5efee 100644 --- a/xwords4/android/XWords4/res/layout/new_game.xml +++ b/xwords4/android/XWords4/res/layout/new_game.xml @@ -88,7 +88,7 @@ android:layout_width="fill_parent" android:layout_height="wrap_content" > -