Andy2
5b336146c8
add preference, as yet unused, to control whether tap drops context
...
menu or opens game (as it used to do).
2010-07-02 18:08:22 -07:00
Andy2
4b14e4aeb9
break most top-level prefs into behavior or appearance
2010-07-02 07:14:48 -07:00
Andy2
e22479ba03
add "play game" item to context menu, and invoke that menu on item
...
click. This fixes problem with users apparently not knowing about
long-tap and context menu and so not knowing they can configure a
game. Unfortunately I can't figure out how to disable long-tap
also bringing up the context menu. Yet another preference might be the fix.
2010-07-02 07:04:37 -07:00
Andy2
9b3463c8e0
use local OnClickListener rather than have Activity implement interface
2010-07-02 06:25:10 -07:00
Andy2
e2925ba50a
wire board_canShuffle() to button visibility
2010-07-01 18:57:26 -07:00
Andy2
b5bf895874
let the compiler build the arrays for me
2010-07-01 18:56:41 -07:00
Andy2
6946cbc499
export board_canShuffle via jni
2010-07-01 18:56:18 -07:00
Andy2
491cfe7616
add board_canShuffle and implement
2010-07-01 18:55:49 -07:00
Andy2
0d2ba57186
move more knowledge from Board Activity to Toolbar
2010-07-01 18:45:33 -07:00
Andy2
7895325f74
hook flip button up with board_canFlip result after every draw() call.
...
Begin process of moving knowledge of button layout into Toolbar.
2010-07-01 18:20:53 -07:00
Andy2
2f59836fc4
export board_canFlip
2010-07-01 06:37:22 -07:00
Andy2
650d9f5b45
Merge branch 'android_branch' of ssh://xwords.git.sourceforge.net/gitroot/xwords/xwords into toolbar
...
Conflicts:
xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardActivity.java
2010-07-01 05:54:43 -07:00
Andy2
3b9240ca84
up version strings/numbers
2010-06-30 21:24:17 -07:00
Andy2
e150db29ee
use board_canFlip() to prototype disabling flip button when useless.
2010-06-30 20:25:56 -07:00
Andy2
43c34aa466
add board_canFlip and model_canFlip -- which seem to work though
...
there's no test that when a single tile is on the board it's not in
the middle. Sue me.
2010-06-30 20:25:34 -07:00
Andy2
2b23c50a70
change default phonies key name so upgrading users will still get the
...
new value.
2010-06-30 19:35:18 -07:00
Andy2
769d9a6a23
tweak strings
2010-06-30 06:45:37 -07:00
Andy2
0eab25eec9
make warn-phonies the default. Users are complaining about bogus
...
words being accepted; this may may the feature easier to find.
2010-06-30 06:32:21 -07:00
Andy2
cf5f94ffc7
fix crash by providing title id expected by warn-phonies dialog.
2010-06-30 06:31:40 -07:00
Andy2
b83867ff13
Configure -> Game settings
2010-06-30 06:16:23 -07:00
Andy2
6a4e9f2c43
up versions in preparation for new release
2010-06-29 21:15:19 -07:00
Eric House
30087845b5
add preference to hide title bar
2010-06-29 19:25:15 -07:00
Andy2
3998a23f84
add undo button; reorder menus; fix show-values menuitem
2010-06-29 18:26:37 -07:00
Andy2
e218cb7639
add prev hint button triggering notImpl; hide title bar. Really want
...
to hide it only for landscape orientation, but that seems impossible
without having separate layout and reloading whole activity on
orientation change. If you hide it after adding content to the
activity you get a runtime exception. Better way than hiding title,
BTW, is a theme that hides it in AndroidManifest.xml.
2010-06-29 06:51:45 -07:00
Andy2
45b5bef414
new prev_hint button with left-facing arrow
2010-06-29 06:48:20 -07:00
Andy2
953b2bcc55
cleanup; allow setting NUM_SAVED_ENGINE_MOVES per-platform
2010-06-28 21:08:13 -07:00
Andy2
c9dd0c2ddf
use my dummy icons instead of irrelevant builtins
2010-06-28 18:52:20 -07:00
Andy2
d1b2602b42
disable hint button when hints not allowed; cleanup. Still have at
...
least one button to add.
2010-06-28 18:51:41 -07:00
Andy2
cf0c7c9770
"First hint" replaces "Hint" for, I hope, more clarity
2010-06-28 18:49:42 -07:00
Andy2
99d41083bd
xml file not needed now that buttons are declared as part of board
2010-06-28 18:48:16 -07:00
Andy2
521852ddf5
more proof-of-concept icons
2010-06-28 18:47:47 -07:00
Andy2
375111d0f1
draw blank-marking circle white-on-black for pending tiles --
...
otherwise it's invisible.
2010-06-28 18:21:53 -07:00
Andy2
6026ad31ba
nuke remaining zoom-controller artifact
2010-06-28 06:31:15 -07:00
Andy2
29aa4627e9
get rid of zoom controller. Will be replaced by toolbar button.
2010-06-28 06:29:27 -07:00
Andy2
85679dcb2a
(re)add padding on sides and at top
2010-06-28 06:26:49 -07:00
Andy2
4b80dedde7
moving toward ImageButtons rather than (text) Buttons, and toward
...
having them declared in the layout rather than added at runtime. Add
temporary references to built-in ImageButtons, and a one-dimentional
one of my own. Toolbar reduced to handling the orientation change
(and likely to disappear altogether soon.)
2010-06-27 21:48:01 -07:00
Andy2
5b04bc6382
add zoom button that toggles between zooming in and out
2010-06-27 13:13:30 -07:00
Andy2
0c852981e7
make zoomBy param passed to board_zoom give distance rather than just
...
direction.
2010-06-27 13:12:30 -07:00
Andy2
85745d8ab4
add more buttons; rearrange menus on assumption those that duplicate
...
button functionality can be burried.
2010-06-26 22:02:02 -07:00
Andy2
06a7c56ca9
template for toolbar buttons.
2010-06-26 17:53:00 -07:00
Andy2
ad2fce6519
remove built-in buttons from board.xml; add addButton method on
...
Toolbar and call it from BoardActivity to produce a working hint
button. Am using text labels instead of icons for now.
2010-06-26 17:52:36 -07:00
Andy2
6536699dd5
remove unused import
2010-06-26 17:49:23 -07:00
Andy2
1c910d5169
turn off debugging so device builds can be from unmodified source.
2010-06-26 12:40:04 -07:00
Andy2
29ba0cf4f2
add Toolbar class and use it to hide whichever toolbar isn't wanted in
...
the current screen orientation.
2010-06-26 12:39:10 -07:00
Andy2
3e9c94118a
put toolbars at right and bottom. Next step is to hide the one we
...
don't want.
2010-06-25 20:14:15 -07:00
Andy2
1866c5ccab
add toolbar at bottom to test spacing
2010-06-25 08:14:18 -07:00
Andy2
7b52f36925
remove unused string
2010-06-25 08:05:07 -07:00
Andy2
05a208594c
cache games list item views in hashmap by file path, and inval
...
individual items when their views need to change. This seems to
significantly speed [re]rendering the list.
2010-06-25 06:38:00 -07:00
Andy2
10286e0109
explicit mention in about text that it's FOSS
2010-06-21 07:55:00 -07:00
Andy2
8012cbdcd6
beta 8 since b7 was in the about box for prev (first) Market release.
2010-06-21 07:17:44 -07:00