Commit graph

215 commits

Author SHA1 Message Date
Eric House
ebaa22594d Display turn start time in game summary. This is definitely not its
final form!
2012-09-27 07:48:30 -07:00
Eric House
c5f21a3517 new field to be populated if dict desc header is found. 2012-08-26 21:00:21 -07:00
Eric House
3641799c4e wrap sms confirm view in scroller as it's wordy enough to need it in
landscape mode.
2012-07-31 07:45:58 -07:00
Eric House
cd1eb2e4da add pref enabling SMS games, and a scary confirmation dialog meant to
force user to realize the potential costs (by requiring interaction).
Until that's enabled, show in New Game activity an explanation and
button that goes to Preferences.
2012-07-24 07:15:27 -07:00
Eric House
00317dea1e center board and buttons so that any leftover white space is half
above and half below.
2012-07-20 17:01:58 -07:00
Eric House
a5c3c7e548 fix layout on wider screens (e.g. 768x1024): rather than draw the
board so wide that scrolling's required, reduce width enough that it's
not.
2012-07-18 07:07:53 -07:00
Eric House
516a1800a0 Add board-size to game config. It makes no sense for it to exist in
per-game defaults but not be settable in config.  But it may make more
sense to remove both options/locations entirely, or hide them by
default.
2012-07-16 07:15:33 -07:00
Eric House
6abb56dd0c make tmp list elem closer in size to the real thing so screen jumps
around less.
2012-07-07 11:29:15 -07:00
Eric House
9a23473b2f use a dummy TextArea instead of an empty custom view as a placeholder
for loading game summary view.
2012-07-06 06:49:09 -07:00
Eric House
60a799ef1f move SMS games up again, this time in a way that networked game creation
isn't hidden along with SMS.
2012-07-03 07:02:29 -07:00
Eric House
bf9fe75f5c Revert "in new game dialog, move sms above network (since that's presumably"
This reverts commit 19dbddc0b8.
2012-07-03 06:37:24 -07:00
Eric House
eba1d91157 fix game_config view contents sticking to bottom of tall screen when lock
checkbox hidden, e.g. on Kindle Fire.
2012-07-03 06:29:59 -07:00
Eric House
be9ed5b963 add toolbar button style for 'large' devices so buttons are bigger on
the Kindle Fire but not too big on phones.
2012-07-02 07:39:06 -07:00
Eric House
19dbddc0b8 in new game dialog, move sms above network (since that's presumably
the reason people chose that version)
2012-07-01 17:35:50 -07:00
Eric House
2ae6bd8caf override onMeasure to make BoardView only as large as it needs to be
so that on tall narrow screens (e.g. Kindle Fire) there's no white
space between the tray and the buttons.
2012-07-01 12:54:38 -07:00
Eric House
df0c5e4abf move plus button to middle, and fix so both text buttons wrap when
required on narrow screen.
2012-05-18 21:14:50 -07:00
Eric House
033a69be8d to make it easier to tell games apart, print the number[s] of the
remote device[s] as part of summary view and in game config screen
(read-only).  Use same field in summaries table for remote phone
numbers and bt addresses.
2012-04-18 23:23:36 -07:00
Eric House
31659bc514 improvements to smsinviter dialog: add explanatory empty text, dialog
that warns when non-mobile number being added, always check
newly-added number, etc.
2012-04-11 18:54:38 -07:00
Eric House
e6c8c898fc hide '+' button when no number text entered 2012-04-10 06:36:34 -07:00
Eric House
3b10f1593c change "nbs" to "sms" everywhere. No other code change. 2012-03-24 12:52:35 -07:00
Eric House
859e32e785 add field for manual number entry (and remember the number like all others) 2012-03-21 07:39:21 -07:00
Eric House
3e26bbb450 improve look of dialog, mostly by putting phone number and name on
separate lines.
2012-03-21 07:04:12 -07:00
Eric House
84496b3012 get phone numbers from contacts DB: factor some of BTInviteActivity
into superclass that NBSInviteActivity can share and use to make their
UIs similar: fetch mobile numbers from DB one-at-a-time, keep a list
there, and let you check then delete or return.  Rough, and doesn't
save state the way BT does, but works.
2012-03-21 06:17:09 -07:00
Eric House
60d91f1a21 add UI (some of it rough) to invite to play a new game via NBS and to
invite if a game is opened that has not been connected to yet.
2012-03-14 06:06:25 -07:00
Eric House
cd8889f90e Merge branch 'android_branch' into android_bt
Conflicts:
	xwords4/android/XWords4/src/org/eehouse/android/xw4/DlgDelegate.java
	xwords4/linux/Makefile
2012-03-12 07:04:06 -07:00
Eric House
0d69c6097a Go back to lookup dialog as dialog-themed activity. I just can't get
contrast right on all platforms any other way.  Previous change to
using dialogs was motivated by speed, but I don't see any slowdown so
far.  Will address if I find it.
2012-03-08 07:54:36 -08:00
Eric House
a2493ffa97 Merge branch 'android_branch' into android_bt 2012-03-06 07:47:05 -08:00
Eric House
6a635d1631 Go back to using a built-in list item resource. Mine was
white-on-white on several OS versions.  Need to test further to try to
reproduce the conditions that had me trying to manage contrast myself.
Or use a dialog-themed Activity for lookup dialog -- prev checkins say
that was too slow but that might be fixable....
2012-03-06 07:41:33 -08:00
Eric House
fb45ea639f make buttons same size 2012-03-05 20:38:43 -08:00
Eric House
57a1759b69 remove empty btconfig area from game config dialog 2012-03-05 20:24:48 -08:00
Eric House
1a9b3a7c63 make helper class to provide game-name dialog, use it for renaming and
to query for name of BT game being created.
2012-03-01 07:57:04 -08:00
Eric House
c1c20db6dd add static final boolean by which to turn BT support off and change so
UI and background service disappear/don't run when it's off.  Goal's
to ship two apps that differ in this setting, a change in Android.mk,
and little else.
2012-02-27 20:35:31 -08:00
Eric House
34f3c38b48 Add "clear selected" button to btinviter UI that's enabled when one or
more is checked.  On launch, get the set of known device, and on scan
do NOT start by emptying.  This allows to maintain a set of devices
and still scan without losing those not present.
2012-02-25 10:43:08 -08:00
Eric House
12de8bf38b change button text from Ok to Invite 2012-02-22 10:37:10 -08:00
Eric House
03fcbb3ddc comment out unused button; cache list of known local devices and use
that as starting point so initial scan can be skipped.  When unable to
deliver a message to remote device, give up after three tries and send
message to that effect.
2012-02-22 08:02:11 -08:00
Eric House
43dca99a2c add preliminary text including number missing. 2012-02-10 18:44:27 -08:00
Eric House
ea0893bad6 layout for replacement for BT-device chooser dialog -- so can be
called from other places.
2012-02-09 04:46:01 -08:00
Eric House
5c8488af1b string and layout needed for edb39ac77d 2012-01-31 18:45:00 -08:00
Eric House
18b620732b fix missing buttons 2012-01-21 10:17:07 -08:00
Eric House
81e29482fe add buttons, text etc. still to be determined, to start BT games. Add
text and unimplemented button to turn BT on if it's not there.
2012-01-21 09:46:52 -08:00
Andy2
9a26ccf1c8 prevent long names from forcing linewrap 2011-12-20 17:10:41 -08:00
Andy2
2ff4338797 Move more oft-used button. Thanks JB. 2011-12-15 18:33:10 -08:00
Andy2
3b48c3ca60 use title rather than a field in custom view for title of lookup
dialog.
2011-12-06 18:25:55 -08:00
Andy2
ebca62b25e don't specify text file for view used in Dialog -- device will set it.
Prevents invisible text on HTC MyTouch.
2011-12-06 18:21:33 -08:00
Andy2
ae2e27e651 Put the values button back (and remove the corresponding menuitem). 2011-12-02 18:14:26 -08:00
Andy2
1575279cd8 replace restore menus in prefs activity with buttons at bottom of
screen.  The trick involves getting the OS to insert the prefs xml
layout as a ListView, and seems like a hack, but it works so far.
Ought to be tested on several OS versions before next release.
2011-11-22 19:00:03 -08:00
Andy2
c781bfc29e remove hard-coded 2-15 array for word-len limit spinners and instead
create at runtime arrays that represent the words actually in the dict
-- e.g. showing a max of 8 when there are no words longer than that.
2011-11-18 21:24:59 -08:00
eehouse@eehouse.org
214f8990bf Merge branch 'android_branch' into android_browsedict 2011-11-04 17:23:27 -07:00
Andy2
0561ca5ab9 make buttons a bit wider since the bar scrolls now, and rearrange. 2011-11-04 17:14:37 -07:00
Andy2
fa14f02b69 add ui support for min,max filtering of wordlist. Not yet wired into
jni.  But: even disabled it seems to lead to much slower scrolling, so
I need to investigate that before taking this any further.
2011-11-04 06:18:11 -07:00