mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-26 07:58:52 +01:00
add "new group" button to move game alert, and logic to relaunch the
move game alert after new group alert exits.
This commit is contained in:
parent
b12d12590a
commit
9d038d13e4
5 changed files with 170 additions and 153 deletions
|
@ -380,7 +380,7 @@ public final class R {
|
|||
public static final int advanced_summary=0x7f050078;
|
||||
/**
|
||||
*/
|
||||
public static final int alert_empty_dict_fmt=0x7f0501fb;
|
||||
public static final int alert_empty_dict_fmt=0x7f0501fc;
|
||||
/** The name of the app. Not localized!
|
||||
*/
|
||||
public static final int app_name=0x7f050001;
|
||||
|
@ -404,7 +404,7 @@ public final class R {
|
|||
public static final int blue=0x7f05015c;
|
||||
/** board menu for small devices only
|
||||
*/
|
||||
public static final int board_menu_dict=0x7f050237;
|
||||
public static final int board_menu_dict=0x7f050238;
|
||||
/**
|
||||
############################################################
|
||||
# :Menus:
|
||||
|
@ -420,7 +420,7 @@ public final class R {
|
|||
public static final int board_menu_file_about=0x7f0500a1;
|
||||
/**
|
||||
*/
|
||||
public static final int board_menu_file_email=0x7f050200;
|
||||
public static final int board_menu_file_email=0x7f050201;
|
||||
/** menu on Game submenu: brings up dialog listing all tiles in
|
||||
the language of the game along with how many of each there
|
||||
are and how many points each is worth. This display is the
|
||||
|
@ -468,7 +468,7 @@ public final class R {
|
|||
public static final int board_menu_tray_show=0x7f050108;
|
||||
/**
|
||||
*/
|
||||
public static final int board_menu_undo_current=0x7f050231;
|
||||
public static final int board_menu_undo_current=0x7f050232;
|
||||
/** Undos the last *committed* turn. Note that this is different
|
||||
from the undo button that undoes or redoes an in-progress
|
||||
not-yet-committed turn. This is disabled for networked
|
||||
|
@ -515,33 +515,33 @@ public final class R {
|
|||
public static final int bonus_w3x_summary=0x7f0500f2;
|
||||
/**
|
||||
*/
|
||||
public static final int bt_bad_proto_fmt=0x7f05020f;
|
||||
public static final int bt_bad_proto_fmt=0x7f050210;
|
||||
/** EXPLAIN ME
|
||||
*/
|
||||
public static final int bt_disabled=0x7f050180;
|
||||
public static final int bt_err_count_fmt=0x7f0502cf;
|
||||
/**
|
||||
*/
|
||||
public static final int bt_fail_fmt=0x7f050214;
|
||||
public static final int bt_fail_fmt=0x7f050215;
|
||||
/** Title of device picker during invitation to a game via Bluetooth
|
||||
*/
|
||||
public static final int bt_invite_title=0x7f050216;
|
||||
public static final int bt_invite_title=0x7f050217;
|
||||
/** EXPLAIN ME
|
||||
*/
|
||||
public static final int bt_networked_desc=0x7f050181;
|
||||
public static final int bt_no_devs=0x7f0502d0;
|
||||
/** In the Bluetooth invite device dialog
|
||||
*/
|
||||
public static final int bt_pick_addall_button=0x7f050205;
|
||||
public static final int bt_pick_addall_button=0x7f050206;
|
||||
/**
|
||||
*/
|
||||
public static final int bt_pick_clear_button=0x7f050206;
|
||||
public static final int bt_pick_clear_button=0x7f050207;
|
||||
/**
|
||||
*/
|
||||
public static final int bt_resend_fmt=0x7f050213;
|
||||
public static final int bt_resend_fmt=0x7f050214;
|
||||
/**
|
||||
*/
|
||||
public static final int btname_label=0x7f050218;
|
||||
public static final int btname_label=0x7f050219;
|
||||
/** text of button for adding new player to game
|
||||
*/
|
||||
public static final int button_add_player=0x7f0500c5;
|
||||
|
@ -549,7 +549,7 @@ public final class R {
|
|||
/** The only button available when the above message is displayed
|
||||
*/
|
||||
public static final int button_close_game=0x7f0501ab;
|
||||
public static final int button_decline=0x7f050260;
|
||||
public static final int button_decline=0x7f050261;
|
||||
/**
|
||||
*/
|
||||
public static final int button_default_both=0x7f0500ba;
|
||||
|
@ -588,7 +588,7 @@ public final class R {
|
|||
public static final int button_html=0x7f050186;
|
||||
/**
|
||||
*/
|
||||
public static final int button_invite=0x7f050215;
|
||||
public static final int button_invite=0x7f050216;
|
||||
/** text of button to juggle (randomly rearrange order of) players
|
||||
*/
|
||||
public static final int button_juggle_players=0x7f0500c6;
|
||||
|
@ -623,6 +623,7 @@ public final class R {
|
|||
/** Games list screen menuitem text for creating a new group
|
||||
*/
|
||||
public static final int button_new_group=0x7f050090;
|
||||
public static final int button_newgroup=0x7f0501f0;
|
||||
public static final int button_nfc=0x7f050187;
|
||||
public static final int button_no=0x7f0501b8;
|
||||
/** Text for button in new-user-info dialog with title just
|
||||
|
@ -676,10 +677,10 @@ public final class R {
|
|||
public static final int button_save=0x7f0501b9;
|
||||
/**
|
||||
*/
|
||||
public static final int button_search=0x7f0501f0;
|
||||
public static final int button_search=0x7f0501f1;
|
||||
/**
|
||||
*/
|
||||
public static final int button_sms_add=0x7f050223;
|
||||
public static final int button_sms_add=0x7f050224;
|
||||
/** Text of button allowing user to choose to open with a
|
||||
different (but same-language wordlist)
|
||||
*/
|
||||
|
@ -705,7 +706,7 @@ public final class R {
|
|||
*/
|
||||
public static final int button_trade_commit=0x7f0500ec;
|
||||
public static final int button_yes=0x7f0501b7;
|
||||
public static final int cannot_delete_default_group_fmt=0x7f050272;
|
||||
public static final int cannot_delete_default_group_fmt=0x7f050273;
|
||||
public static final int change_group=0x7f050279;
|
||||
/** text of button in About Crosswords dialog summoning above
|
||||
dialog
|
||||
|
@ -752,7 +753,7 @@ public final class R {
|
|||
substituted for %1$s.
|
||||
*/
|
||||
public static final int chat_title_fmt=0x7f05018f;
|
||||
public static final int checkupdates_none_found=0x7f05024f;
|
||||
public static final int checkupdates_none_found=0x7f050250;
|
||||
/** color of the "crosshairs", lines drawn vertically and
|
||||
horizontally through the square the user is currently
|
||||
touching in order to guide the fat-fingered (most of us) in
|
||||
|
@ -762,7 +763,7 @@ public final class R {
|
|||
public static final int clr_crosshairs=0x7f050155;
|
||||
/**
|
||||
*/
|
||||
public static final int confirm_clear=0x7f050229;
|
||||
public static final int confirm_clear=0x7f05022a;
|
||||
/** text of confirmation dialog posted when the delete 'X' button
|
||||
beside the listing of a wordlist is tapped. The name of the
|
||||
wordlist is substituted for %1$s. Sometimes one of the two
|
||||
|
@ -796,22 +797,22 @@ public final class R {
|
|||
public static final int confirm_seldeletes_fmt=0x7f0500ad;
|
||||
/**
|
||||
*/
|
||||
public static final int confirm_sms_expl=0x7f050248;
|
||||
public static final int confirm_sms_expl=0x7f050249;
|
||||
/**
|
||||
*/
|
||||
public static final int confirm_sms_leave=0x7f05024a;
|
||||
public static final int confirm_sms_leave=0x7f05024b;
|
||||
/**
|
||||
*/
|
||||
public static final int confirm_sms_prompt=0x7f050249;
|
||||
public static final int confirm_sms_prompt=0x7f05024a;
|
||||
/**
|
||||
*/
|
||||
public static final int confirm_sms_title=0x7f050247;
|
||||
public static final int confirm_sms_title=0x7f050248;
|
||||
/**
|
||||
*/
|
||||
public static final int confirm_sms_unlimited=0x7f05024b;
|
||||
public static final int confirm_sms_unlimited=0x7f05024c;
|
||||
/**
|
||||
*/
|
||||
public static final int confirm_sms_willpay=0x7f05024c;
|
||||
public static final int confirm_sms_willpay=0x7f05024d;
|
||||
public static final int confirm_studylist_clear_fmt=0x7f050293;
|
||||
/** text of dialog shown when the menu item board_menu_undo_last
|
||||
is chosen.
|
||||
|
@ -838,7 +839,7 @@ public final class R {
|
|||
public static final int connect_label_relay=0x7f0500c9;
|
||||
/**
|
||||
*/
|
||||
public static final int connect_label_sms=0x7f05022a;
|
||||
public static final int connect_label_sms=0x7f05022b;
|
||||
/** These are the possible values for the connect_frequency
|
||||
setting presented as a drop-down list.
|
||||
*/
|
||||
|
@ -848,40 +849,40 @@ public final class R {
|
|||
public static final int connect_thirty_mins=0x7f050171;
|
||||
/**
|
||||
*/
|
||||
public static final int connstat_bt=0x7f050244;
|
||||
public static final int connstat_bt=0x7f050245;
|
||||
/**
|
||||
*/
|
||||
public static final int connstat_lastother_succ_fmt=0x7f05023e;
|
||||
public static final int connstat_lastother_succ_fmt=0x7f05023f;
|
||||
/**
|
||||
*/
|
||||
public static final int connstat_lastother_unsucc_fmt=0x7f05023f;
|
||||
public static final int connstat_lastother_unsucc_fmt=0x7f050240;
|
||||
/**
|
||||
*/
|
||||
public static final int connstat_lastreceipt_fmt=0x7f050240;
|
||||
public static final int connstat_lastreceipt_fmt=0x7f050241;
|
||||
/**
|
||||
*/
|
||||
public static final int connstat_lastsend_fmt=0x7f05023d;
|
||||
public static final int connstat_lastsend_fmt=0x7f05023e;
|
||||
/**
|
||||
*/
|
||||
public static final int connstat_net_fmt=0x7f05023a;
|
||||
public static final int connstat_net_fmt=0x7f05023b;
|
||||
/**
|
||||
*/
|
||||
public static final int connstat_nonet=0x7f050239;
|
||||
public static final int connstat_nonet=0x7f05023a;
|
||||
/**
|
||||
*/
|
||||
public static final int connstat_noreceipt=0x7f050241;
|
||||
public static final int connstat_noreceipt=0x7f050242;
|
||||
/**
|
||||
*/
|
||||
public static final int connstat_relay=0x7f050242;
|
||||
public static final int connstat_relay=0x7f050243;
|
||||
/**
|
||||
*/
|
||||
public static final int connstat_sms=0x7f050243;
|
||||
public static final int connstat_sms=0x7f050244;
|
||||
/**
|
||||
*/
|
||||
public static final int connstat_succ=0x7f05023b;
|
||||
public static final int connstat_succ=0x7f05023c;
|
||||
/**
|
||||
*/
|
||||
public static final int connstat_unsucc=0x7f05023c;
|
||||
public static final int connstat_unsucc=0x7f05023d;
|
||||
/** title of dialog brought up in response to the
|
||||
board_menu_game_counts menu. The dialog lists all tiles in
|
||||
the language being used for the game together with how many
|
||||
|
@ -891,7 +892,7 @@ public final class R {
|
|||
public static final int cur_menu_marker_fmt=0x7f050283;
|
||||
/**
|
||||
*/
|
||||
public static final int cur_tiles_fmt=0x7f0501f4;
|
||||
public static final int cur_tiles_fmt=0x7f0501f5;
|
||||
public static final int data_gsm_only=0x7f0502a5;
|
||||
public static final int debug_features=0x7f05007e;
|
||||
public static final int debug_features_summary=0x7f05007f;
|
||||
|
@ -905,8 +906,8 @@ public final class R {
|
|||
/** label within default wordlists in app preferences
|
||||
*/
|
||||
public static final int default_language=0x7f0502d2;
|
||||
public static final int default_loc=0x7f050263;
|
||||
public static final int default_loc_summary=0x7f050264;
|
||||
public static final int default_loc=0x7f050264;
|
||||
public static final int default_loc_summary=0x7f050265;
|
||||
/** Welcome dialog text
|
||||
*/
|
||||
public static final int default_name_message=0x7f0501dc;
|
||||
|
@ -937,19 +938,19 @@ public final class R {
|
|||
public static final int delete_dicts=0x7f0502b7;
|
||||
/**
|
||||
*/
|
||||
public static final int dft_name_fmt=0x7f05021c;
|
||||
public static final int dft_name_fmt=0x7f05021d;
|
||||
/**
|
||||
*/
|
||||
public static final int dft_sms_name_fmt=0x7f050220;
|
||||
public static final int dft_sms_name_fmt=0x7f050221;
|
||||
/**
|
||||
*/
|
||||
public static final int dict_browse_nowords_fmt=0x7f0501f8;
|
||||
public static final int dict_browse_nowords_fmt=0x7f0501f9;
|
||||
/**
|
||||
*/
|
||||
public static final int dict_browse_title1_fmt=0x7f0501f7;
|
||||
public static final int dict_browse_title1_fmt=0x7f0501f8;
|
||||
/**
|
||||
*/
|
||||
public static final int dict_browse_title_fmt=0x7f0501f6;
|
||||
public static final int dict_browse_title_fmt=0x7f0501f7;
|
||||
public static final int dict_host=0x7f05007b;
|
||||
public static final int dict_info_fmt=0x7f0502bb;
|
||||
/** label for dropdown by which wordlist is chosen that this
|
||||
|
@ -992,9 +993,9 @@ public final class R {
|
|||
wordlists can be found.
|
||||
*/
|
||||
public static final int download_dicts=0x7f0500b0;
|
||||
public static final int download_done=0x7f050261;
|
||||
public static final int download_failed=0x7f050262;
|
||||
public static final int download_path_title=0x7f050265;
|
||||
public static final int download_done=0x7f050262;
|
||||
public static final int download_failed=0x7f050263;
|
||||
public static final int download_path_title=0x7f050266;
|
||||
public static final int downloading_dict_fmt=0x7f0501a8;
|
||||
/** <string name="summary_thumb_enabled">Display snapshots of games</string>
|
||||
*/
|
||||
|
@ -1010,31 +1011,31 @@ public final class R {
|
|||
public static final int dup_game_query_fmt=0x7f0501bc;
|
||||
/**
|
||||
*/
|
||||
public static final int email_author_chooser=0x7f050202;
|
||||
public static final int email_author_chooser=0x7f050203;
|
||||
/** Nor is my email address
|
||||
*/
|
||||
public static final int email_author_email=0x7f05006b;
|
||||
/**
|
||||
*/
|
||||
public static final int email_author_subject=0x7f050201;
|
||||
public static final int email_author_subject=0x7f050202;
|
||||
/**
|
||||
*/
|
||||
public static final int email_body_rev_fmt=0x7f050203;
|
||||
public static final int email_body_rev_fmt=0x7f050204;
|
||||
/** color of empty squares on the board (that are not bonus squares)
|
||||
*/
|
||||
public static final int empty=0x7f050157;
|
||||
/** Shows in SMS Invite dialog when no phone numbers have been saved previously
|
||||
*/
|
||||
public static final int empty_sms_inviter=0x7f050227;
|
||||
public static final int empty_sms_inviter=0x7f050228;
|
||||
public static final int enable_dupes_summary=0x7f05008c;
|
||||
public static final int enable_dupes_title=0x7f05008a;
|
||||
public static final int enable_nfc=0x7f050285;
|
||||
/**
|
||||
*/
|
||||
public static final int enable_sms=0x7f050245;
|
||||
public static final int enable_sms=0x7f050246;
|
||||
/**
|
||||
*/
|
||||
public static final int enable_sms_summary=0x7f050246;
|
||||
public static final int enable_sms_summary=0x7f050247;
|
||||
public static final int entering_trade=0x7f0500ee;
|
||||
public static final int expl_update_url=0x7f050075;
|
||||
/** These four strings are displayed as step-by-step
|
||||
|
@ -1089,7 +1090,7 @@ public final class R {
|
|||
public static final int gameOver=0x7f050098;
|
||||
/**
|
||||
*/
|
||||
public static final int game_btname_title=0x7f05021a;
|
||||
public static final int game_btname_title=0x7f05021b;
|
||||
/** used to create default names of games (when user has not
|
||||
named them.)
|
||||
*/
|
||||
|
@ -1106,18 +1107,18 @@ public final class R {
|
|||
public static final int game_item_menu_title_fmt=0x7f0500a2;
|
||||
/**
|
||||
*/
|
||||
public static final int game_list_tmp=0x7f050238;
|
||||
public static final int game_list_tmp=0x7f050239;
|
||||
/** text of checkbox at top of dialog allowing to unlock in-play
|
||||
game to make changes
|
||||
*/
|
||||
public static final int game_locked=0x7f0500c2;
|
||||
public static final int game_name_group_title=0x7f050271;
|
||||
public static final int game_name_group_title=0x7f050272;
|
||||
/**
|
||||
*/
|
||||
public static final int game_rename_title=0x7f0500ab;
|
||||
/**
|
||||
*/
|
||||
public static final int game_smsname_title=0x7f05021b;
|
||||
public static final int game_smsname_title=0x7f05021c;
|
||||
/** Put nothing in the summary space, so it just reads "Game 2"
|
||||
*/
|
||||
public static final int game_summary_field_empty=0x7f050145;
|
||||
|
@ -1142,7 +1143,7 @@ public final class R {
|
|||
public static final int gamel_menu_checkmoves=0x7f05009e;
|
||||
/**
|
||||
*/
|
||||
public static final int gamel_menu_checkupdates=0x7f05024e;
|
||||
public static final int gamel_menu_checkupdates=0x7f05024f;
|
||||
/**
|
||||
############################################################
|
||||
# :Menus:
|
||||
|
@ -1160,16 +1161,16 @@ public final class R {
|
|||
public static final int gamel_menu_study=0x7f050290;
|
||||
/**
|
||||
*/
|
||||
public static final int get_sms_number=0x7f050228;
|
||||
public static final int get_sms_number=0x7f050229;
|
||||
public static final int getinfo=0x7f0502b6;
|
||||
public static final int git_rev=0x7f05008e;
|
||||
public static final int git_rev_title=0x7f050084;
|
||||
public static final int green=0x7f05015b;
|
||||
public static final int group_cur_games=0x7f05026c;
|
||||
public static final int group_cur_games=0x7f05026d;
|
||||
public static final int group_name_fmt=0x7f050274;
|
||||
public static final int group_new_games=0x7f05026d;
|
||||
public static final int groups_confirm_del_fmt=0x7f05026e;
|
||||
public static final int groups_confirm_del_games_fmt=0x7f05026f;
|
||||
public static final int group_new_games=0x7f05026e;
|
||||
public static final int groups_confirm_del_fmt=0x7f05026f;
|
||||
public static final int groups_confirm_del_games_fmt=0x7f050270;
|
||||
/** Used as the default name for remote players displayed within
|
||||
the Game configure screen
|
||||
*/
|
||||
|
@ -1225,12 +1226,12 @@ public final class R {
|
|||
public static final int info_title=0x7f0501bd;
|
||||
/**
|
||||
*/
|
||||
public static final int inform_dict_diffdict_fmt=0x7f050258;
|
||||
public static final int inform_dict_diffdict_fmt=0x7f050259;
|
||||
/**
|
||||
*/
|
||||
public static final int inform_dict_diffversion_fmt=0x7f050256;
|
||||
public static final int inform_dict_download=0x7f050259;
|
||||
public static final int inform_dict_title=0x7f050257;
|
||||
public static final int inform_dict_diffversion_fmt=0x7f050257;
|
||||
public static final int inform_dict_download=0x7f05025a;
|
||||
public static final int inform_dict_title=0x7f050258;
|
||||
/** Will new games, on default, randomly rearrange the start
|
||||
order of players.
|
||||
*/
|
||||
|
@ -1243,7 +1244,7 @@ public final class R {
|
|||
public static final int initial_player_minutes=0x7f050140;
|
||||
/**
|
||||
*/
|
||||
public static final int invite_bt_desc_fmt=0x7f050212;
|
||||
public static final int invite_bt_desc_fmt=0x7f050213;
|
||||
public static final int invite_chooser_email=0x7f05018c;
|
||||
/** When I've created the invitation, in text or html, I ask
|
||||
Android to launch an app that can send it, typically an email
|
||||
|
@ -1254,9 +1255,9 @@ public final class R {
|
|||
*/
|
||||
public static final int invite_chooser_fmt=0x7f05018b;
|
||||
public static final int invite_chooser_sms=0x7f05018d;
|
||||
public static final int invite_dict_missing_body_fmt=0x7f05025e;
|
||||
public static final int invite_dict_missing_body_noname_fmt=0x7f05025f;
|
||||
public static final int invite_dict_missing_title=0x7f05025d;
|
||||
public static final int invite_dict_missing_body_fmt=0x7f05025f;
|
||||
public static final int invite_dict_missing_body_noname_fmt=0x7f050260;
|
||||
public static final int invite_dict_missing_title=0x7f05025e;
|
||||
public static final int invite_host=0x7f05006e;
|
||||
/** This is the body of the html version of the invitation. A URL
|
||||
is created with parameters describing the game and
|
||||
|
@ -1287,13 +1288,13 @@ public final class R {
|
|||
*/
|
||||
public static final int invite_multiple=0x7f0500f7;
|
||||
public static final int invite_prefix=0x7f05006f;
|
||||
public static final int invite_progress_fmt=0x7f050208;
|
||||
public static final int invite_progress_fmt=0x7f050209;
|
||||
/**
|
||||
*/
|
||||
public static final int invite_progress_title=0x7f050207;
|
||||
public static final int invite_progress_title=0x7f050208;
|
||||
/**
|
||||
*/
|
||||
public static final int invite_sms_desc_fmt=0x7f050224;
|
||||
public static final int invite_sms_desc_fmt=0x7f050225;
|
||||
/** This is the subject line of the email/text sent to invite
|
||||
someone to join a game.
|
||||
*/
|
||||
|
@ -1438,11 +1439,11 @@ public final class R {
|
|||
public static final int lang_name_fmt=0x7f0502be;
|
||||
public static final int lang_unknown=0x7f0502bf;
|
||||
public static final int langdict_label=0x7f0500c8;
|
||||
public static final int list_group_default=0x7f050269;
|
||||
public static final int list_group_delete=0x7f050267;
|
||||
public static final int list_group_movedown=0x7f05026b;
|
||||
public static final int list_group_moveup=0x7f05026a;
|
||||
public static final int list_group_rename=0x7f050268;
|
||||
public static final int list_group_default=0x7f05026a;
|
||||
public static final int list_group_delete=0x7f050268;
|
||||
public static final int list_group_movedown=0x7f05026c;
|
||||
public static final int list_group_moveup=0x7f05026b;
|
||||
public static final int list_group_rename=0x7f050269;
|
||||
/** ############## menu items ##############
|
||||
pulls up dialog to configure the selected game
|
||||
*/
|
||||
|
@ -1524,49 +1525,49 @@ public final class R {
|
|||
public static final int lookup_title=0x7f05029b;
|
||||
/**
|
||||
*/
|
||||
public static final int manual_owner_name=0x7f050225;
|
||||
public static final int manual_owner_name=0x7f050226;
|
||||
/**
|
||||
*/
|
||||
public static final int max_len=0x7f0501fd;
|
||||
public static final int max_len=0x7f0501fe;
|
||||
/**
|
||||
*/
|
||||
public static final int menu_chat=0x7f050235;
|
||||
public static final int menu_chat=0x7f050236;
|
||||
/**
|
||||
*/
|
||||
public static final int menu_flip=0x7f050233;
|
||||
public static final int menu_flip=0x7f050234;
|
||||
/**
|
||||
*/
|
||||
public static final int menu_hint_next=0x7f050230;
|
||||
public static final int menu_hint_next=0x7f050231;
|
||||
/**
|
||||
*/
|
||||
public static final int menu_hint_prev=0x7f05022f;
|
||||
public static final int menu_hint_prev=0x7f050230;
|
||||
/**
|
||||
*/
|
||||
public static final int menu_juggle=0x7f050232;
|
||||
public static final int menu_juggle=0x7f050233;
|
||||
/** text of menu that brings up the Settings (preferences) dialog
|
||||
*/
|
||||
public static final int menu_prefs=0x7f05009d;
|
||||
public static final int menu_rateme=0x7f05028b;
|
||||
/**
|
||||
*/
|
||||
public static final int menu_toggle_values=0x7f050236;
|
||||
public static final int menu_toggle_values=0x7f050237;
|
||||
/**
|
||||
*/
|
||||
public static final int menu_zoom=0x7f050234;
|
||||
public static final int menu_zoom=0x7f050235;
|
||||
/**
|
||||
*/
|
||||
public static final int min_len=0x7f0501fc;
|
||||
public static final int min_len=0x7f0501fd;
|
||||
/** label for the field used to set the timer's inital value
|
||||
*/
|
||||
public static final int minutes_label=0x7f0500d4;
|
||||
/** body of notification shown when invitation requires a
|
||||
wordslist that's not installed
|
||||
*/
|
||||
public static final int missing_dict_detail=0x7f05025c;
|
||||
public static final int missing_dict_detail=0x7f05025d;
|
||||
/** Title of notification shown when invitation requires a
|
||||
wordslist that's not installed
|
||||
*/
|
||||
public static final int missing_dict_title=0x7f05025b;
|
||||
public static final int missing_dict_title=0x7f05025c;
|
||||
/** Used as a substitute for the names of remote players when
|
||||
they aren't available yet because the connection is not
|
||||
complete. Displayed in the lists of players found in each
|
||||
|
@ -1668,37 +1669,37 @@ public final class R {
|
|||
public static final int network_behavior_summary=0x7f05016c;
|
||||
/**
|
||||
*/
|
||||
public static final int new_app_avail=0x7f050253;
|
||||
public static final int new_app_avail=0x7f050254;
|
||||
/**
|
||||
*/
|
||||
public static final int new_app_avail_fmt=0x7f050252;
|
||||
public static final int new_app_avail_fmt=0x7f050253;
|
||||
/**
|
||||
*/
|
||||
public static final int new_bt_body_fmt=0x7f05020e;
|
||||
public static final int new_bt_body_fmt=0x7f05020f;
|
||||
/**
|
||||
*/
|
||||
public static final int new_bt_title=0x7f05020d;
|
||||
public static final int new_bt_title=0x7f05020e;
|
||||
/**
|
||||
*/
|
||||
public static final int new_btmove_title=0x7f050210;
|
||||
public static final int new_btmove_title=0x7f050211;
|
||||
/**
|
||||
*/
|
||||
public static final int new_dict_avail=0x7f050250;
|
||||
public static final int new_dict_avail=0x7f050251;
|
||||
/**
|
||||
*/
|
||||
public static final int new_dict_avail_fmt=0x7f050251;
|
||||
public static final int new_dict_avail_fmt=0x7f050252;
|
||||
/**
|
||||
*/
|
||||
public static final int new_move_body=0x7f050211;
|
||||
public static final int new_move_body=0x7f050212;
|
||||
/**
|
||||
*/
|
||||
public static final int new_name_body_fmt=0x7f050222;
|
||||
public static final int new_name_body_fmt=0x7f050223;
|
||||
/** hint (text shown when field is empty) for room name field
|
||||
*/
|
||||
public static final int new_room_hint=0x7f0500cb;
|
||||
/**
|
||||
*/
|
||||
public static final int new_sms_title=0x7f050221;
|
||||
public static final int new_sms_title=0x7f050222;
|
||||
public static final int new_xlations_fmt=0x7f0502a2;
|
||||
/**
|
||||
###########################################################
|
||||
|
@ -1721,7 +1722,7 @@ public final class R {
|
|||
this and you'll get taken to the "Game configure" screen
|
||||
*/
|
||||
public static final int newgame_configure_first=0x7f05017b;
|
||||
public static final int newgame_enable_bt=0x7f050204;
|
||||
public static final int newgame_enable_bt=0x7f050205;
|
||||
/** Text of first of two buttons for new networked games. Tap
|
||||
this and a game will be created, but you probably won't see
|
||||
it immediately because an email or messaging app will be
|
||||
|
@ -1764,8 +1765,8 @@ public final class R {
|
|||
public static final int newgame_networked_header=0x7f05017c;
|
||||
/**
|
||||
*/
|
||||
public static final int newgame_sms_header=0x7f05021d;
|
||||
public static final int newgroup_label=0x7f050266;
|
||||
public static final int newgame_sms_header=0x7f05021e;
|
||||
public static final int newgroup_label=0x7f050267;
|
||||
public static final int nfc_or_email=0x7f050183;
|
||||
public static final int nfc_or_sms_or_email=0x7f050184;
|
||||
/** Title of dialog for renaming game (triggered by selecting
|
||||
|
@ -1815,7 +1816,6 @@ public final class R {
|
|||
public static final int no_games_to_refresh=0x7f0500a0;
|
||||
public static final int no_hide_titlebar=0x7f050287;
|
||||
public static final int no_market=0x7f05028c;
|
||||
public static final int no_move_onegroup=0x7f050273;
|
||||
/** displayed when you long-tap a scoreboard entry and there's no
|
||||
most recent score to show
|
||||
*/
|
||||
|
@ -1841,10 +1841,10 @@ public final class R {
|
|||
public static final int not_again_backclears=0x7f05027d;
|
||||
/**
|
||||
*/
|
||||
public static final int not_again_browse=0x7f0501f9;
|
||||
public static final int not_again_browse=0x7f0501fa;
|
||||
/**
|
||||
*/
|
||||
public static final int not_again_browseall=0x7f0501fa;
|
||||
public static final int not_again_browseall=0x7f0501fb;
|
||||
/** Shown when you tap the chat button on the toolbar of the
|
||||
main Board screen
|
||||
*/
|
||||
|
@ -1984,7 +1984,7 @@ public final class R {
|
|||
public static final int peek_other_summary=0x7f050168;
|
||||
/**
|
||||
*/
|
||||
public static final int phone_label=0x7f05022b;
|
||||
public static final int phone_label=0x7f05022c;
|
||||
/** Don't warn, but simply force to skip turn (give 0 points)
|
||||
when user attempts to play word not in the wordlist.
|
||||
*/
|
||||
|
@ -2005,7 +2005,7 @@ public final class R {
|
|||
public static final int phonies_warn=0x7f0500db;
|
||||
/**
|
||||
*/
|
||||
public static final int pick_faceup=0x7f0501f5;
|
||||
public static final int pick_faceup=0x7f0501f6;
|
||||
/**
|
||||
*/
|
||||
public static final int pick_url_title_fmt=0x7f0501ec;
|
||||
|
@ -2126,10 +2126,10 @@ public final class R {
|
|||
public static final int progress_title=0x7f0502ba;
|
||||
/**
|
||||
*/
|
||||
public static final int prompt_max_len=0x7f0501ff;
|
||||
public static final int prompt_max_len=0x7f050200;
|
||||
/**
|
||||
*/
|
||||
public static final int prompt_min_len=0x7f0501fe;
|
||||
public static final int prompt_min_len=0x7f0501ff;
|
||||
public static final int proxy_port=0x7f050086;
|
||||
/** Short for "points", this is shown at the right end of the
|
||||
tray in place of the first tile placed along with the points
|
||||
|
@ -2194,7 +2194,7 @@ public final class R {
|
|||
public static final int relay_port=0x7f050085;
|
||||
/** Shown in toast when relaunching after switching dicts
|
||||
*/
|
||||
public static final int reload_new_dict_fmt=0x7f05025a;
|
||||
public static final int reload_new_dict_fmt=0x7f05025b;
|
||||
public static final int remote_digesting=0x7f0502b4;
|
||||
public static final int remote_empty=0x7f0502b3;
|
||||
/** checkbox determining of this player is on this device or
|
||||
|
@ -2205,8 +2205,8 @@ public final class R {
|
|||
public static final int remote_no_net=0x7f0502b5;
|
||||
/**
|
||||
*/
|
||||
public static final int remote_undone=0x7f05022e;
|
||||
public static final int rename_group_label=0x7f050270;
|
||||
public static final int remote_undone=0x7f05022f;
|
||||
public static final int rename_group_label=0x7f050271;
|
||||
/** text within rename dialog (triggered by selecting
|
||||
list_item_rename)
|
||||
*/
|
||||
|
@ -2284,13 +2284,13 @@ public final class R {
|
|||
public static final int slmenu_select_all=0x7f05029c;
|
||||
/**
|
||||
*/
|
||||
public static final int sms_disabled=0x7f05021f;
|
||||
public static final int sms_disabled=0x7f050220;
|
||||
/** Title of phone number picker during invitation to a game via SMS
|
||||
*/
|
||||
public static final int sms_invite_title=0x7f050217;
|
||||
public static final int sms_invite_title=0x7f050218;
|
||||
/**
|
||||
*/
|
||||
public static final int sms_networked_desc=0x7f05021e;
|
||||
public static final int sms_networked_desc=0x7f05021f;
|
||||
/** The invitation process begins with this query. The choice is
|
||||
between html and plaintext formatting but I also provide some
|
||||
explanation/guidance.
|
||||
|
@ -2299,7 +2299,7 @@ public final class R {
|
|||
public static final int sms_ready_text=0x7f050288;
|
||||
/**
|
||||
*/
|
||||
public static final int smsname_label=0x7f050219;
|
||||
public static final int smsname_label=0x7f05021a;
|
||||
public static final int square_tiles=0x7f050277;
|
||||
public static final int square_tiles_summary=0x7f050278;
|
||||
/** Used in formatting moves and history
|
||||
|
@ -2379,7 +2379,7 @@ public final class R {
|
|||
public static final int str_remote_moved_fmt=0x7f050119;
|
||||
/** Used in formatting final scores display
|
||||
*/
|
||||
public static final int str_resigned=0x7f050254;
|
||||
public static final int str_resigned=0x7f050255;
|
||||
/**
|
||||
############################################################
|
||||
# Board info/error dialog messages
|
||||
|
@ -2422,7 +2422,7 @@ public final class R {
|
|||
public static final int str_two_tiles_first_move=0x7f05019e;
|
||||
/** Used in formatting final scores display
|
||||
*/
|
||||
public static final int str_winner=0x7f050255;
|
||||
public static final int str_winner=0x7f050256;
|
||||
/** Used in formatting game history (not move summaries since
|
||||
information about the current rack is hidden then)
|
||||
*/
|
||||
|
@ -2480,10 +2480,10 @@ public final class R {
|
|||
public static final int subst_dict_title=0x7f0501b0;
|
||||
/**
|
||||
*/
|
||||
public static final int summary_conn=0x7f05020c;
|
||||
public static final int summary_conn=0x7f05020d;
|
||||
/**
|
||||
*/
|
||||
public static final int summary_conn_sms_fmt=0x7f05022c;
|
||||
public static final int summary_conn_sms_fmt=0x7f05022d;
|
||||
/** Preference to control what's listed next to game name in the
|
||||
first line of a game summary in the main games-list screen,
|
||||
e.g., if the option is "Game Language", "English" in the
|
||||
|
@ -2495,7 +2495,7 @@ public final class R {
|
|||
public static final int summary_field=0x7f050144;
|
||||
/**
|
||||
*/
|
||||
public static final int summary_gameover=0x7f05020b;
|
||||
public static final int summary_gameover=0x7f05020c;
|
||||
/** The display of each networked game includes one of three
|
||||
states it can be in in the process of connecting to the
|
||||
relay. These next three strings are used to create those
|
||||
|
@ -2526,10 +2526,10 @@ public final class R {
|
|||
public static final int summary_thumbsize=0x7f050280;
|
||||
/**
|
||||
*/
|
||||
public static final int summary_wait_guest=0x7f05020a;
|
||||
public static final int summary_wait_guest=0x7f05020b;
|
||||
/**
|
||||
*/
|
||||
public static final int summary_wait_host=0x7f050209;
|
||||
public static final int summary_wait_host=0x7f05020a;
|
||||
/** Used to indicate that a preference is not enabled, i.e. not
|
||||
part of the game and that the user should ignore it.
|
||||
*/
|
||||
|
@ -2540,10 +2540,10 @@ public final class R {
|
|||
public static final int tile_back=0x7f050156;
|
||||
/**
|
||||
*/
|
||||
public static final int tilepick_all=0x7f0501f3;
|
||||
public static final int tilepick_all=0x7f0501f4;
|
||||
/**
|
||||
*/
|
||||
public static final int tilepick_undo=0x7f0501f2;
|
||||
public static final int tilepick_undo=0x7f0501f3;
|
||||
/** title of dialog brought up in response to the
|
||||
board_menu_game_left menu. The dialog lists all tiles
|
||||
remaining in the pool, i.e. not on the board or in the rack
|
||||
|
@ -2617,16 +2617,16 @@ public final class R {
|
|||
public static final int vs_join=0x7f050123;
|
||||
/**
|
||||
*/
|
||||
public static final int warn_nomobile_fmt=0x7f050226;
|
||||
public static final int warn_nomobile_fmt=0x7f050227;
|
||||
/**
|
||||
*/
|
||||
public static final int warn_sms_disabled=0x7f05024d;
|
||||
public static final int warn_sms_disabled=0x7f05024e;
|
||||
/**
|
||||
*/
|
||||
public static final int warn_unlimited=0x7f05022d;
|
||||
public static final int warn_unlimited=0x7f05022e;
|
||||
/**
|
||||
*/
|
||||
public static final int word_search_hint=0x7f0501f1;
|
||||
public static final int word_search_hint=0x7f0501f2;
|
||||
public static final int xlations_enabled_summary=0x7f0502a4;
|
||||
public static final int xlations_enabled_title=0x7f0502a3;
|
||||
public static final int xlations_locale=0x7f05008b;
|
||||
|
|
|
@ -1776,6 +1776,7 @@
|
|||
|
||||
<!-- -->
|
||||
<string name="button_move">Move</string>
|
||||
<string name="button_newgroup">New group</string>
|
||||
|
||||
<!-- -->
|
||||
<string name="button_search">Find</string>
|
||||
|
@ -2099,8 +2100,6 @@
|
|||
<string name="cannot_delete_default_group_fmt">The group for new games, %1$s,
|
||||
cannot be deleted.</string>
|
||||
|
||||
<string name="no_move_onegroup">Moving is impossible until there
|
||||
is more than one group.</string>
|
||||
<string name="group_name_fmt">%1$s (%2$d games)</string>
|
||||
|
||||
<!-- Button shown in game over dialog triggering creation of new
|
||||
|
|
|
@ -1521,6 +1521,7 @@
|
|||
,enilno eht sdrow tsuj deyalp.</string>
|
||||
<!-- -->
|
||||
<string name="button_move">Evom</string>
|
||||
<string name="button_newgroup">Wen puorg</string>
|
||||
<!-- -->
|
||||
<string name="button_search">Dnif</string>
|
||||
<!-- -->
|
||||
|
@ -1809,8 +1810,6 @@
|
|||
<string name="game_name_group_title">Eman puorg</string>
|
||||
<string name="cannot_delete_default_group_fmt">Eht puorg rof wen ,semag %1$s,
|
||||
tonnac eb deteled.</string>
|
||||
<string name="no_move_onegroup">Gnivom si elbissopmi litnu ereht
|
||||
si erom naht eno puorg.</string>
|
||||
<string name="group_name_fmt">%1$s (%2$d )semag</string>
|
||||
<!-- Button shown in game over dialog triggering creation of new
|
||||
game with the same players and parameters as the one that
|
||||
|
|
|
@ -1521,6 +1521,7 @@
|
|||
ONLINE, THE WORDS JUST PLAYED.</string>
|
||||
<!-- -->
|
||||
<string name="button_move">MOVE</string>
|
||||
<string name="button_newgroup">NEW GROUP</string>
|
||||
<!-- -->
|
||||
<string name="button_search">FIND</string>
|
||||
<!-- -->
|
||||
|
@ -1809,8 +1810,6 @@
|
|||
<string name="game_name_group_title">NAME GROUP</string>
|
||||
<string name="cannot_delete_default_group_fmt">THE GROUP FOR NEW GAMES, %1$s,
|
||||
CANNOT BE DELETED.</string>
|
||||
<string name="no_move_onegroup">MOVING IS IMPOSSIBLE UNTIL THERE
|
||||
IS MORE THAN ONE GROUP.</string>
|
||||
<string name="group_name_fmt">%1$s (%2$d GAMES)</string>
|
||||
<!-- Button shown in game over dialog triggering creation of new
|
||||
game with the same players and parameters as the one that
|
||||
|
|
|
@ -533,6 +533,7 @@ public class GamesListDelegate extends ListDelegateBase
|
|||
private GameNamer m_namer;
|
||||
private Set<Long> m_launchedGames;
|
||||
private boolean m_menuPrepared;
|
||||
private boolean m_moveAfterNewGroup;
|
||||
private Set<Long> m_selGames;
|
||||
private Set<Long> m_selGroupIDs;
|
||||
private String m_origTitle;
|
||||
|
@ -649,7 +650,7 @@ public class GamesListDelegate extends ListDelegateBase
|
|||
dialog = buildNamerDlg( GameUtils.getName( m_activity, m_rowid ),
|
||||
R.string.rename_label,
|
||||
R.string.game_rename_title,
|
||||
lstnr, DlgID.RENAME_GAME );
|
||||
lstnr, null, DlgID.RENAME_GAME );
|
||||
break;
|
||||
|
||||
case RENAME_GROUP:
|
||||
|
@ -665,7 +666,7 @@ public class GamesListDelegate extends ListDelegateBase
|
|||
dialog = buildNamerDlg( m_adapter.groupName( m_groupid ),
|
||||
R.string.rename_group_label,
|
||||
R.string.game_name_group_title,
|
||||
lstnr, DlgID.RENAME_GROUP );
|
||||
lstnr, null, DlgID.RENAME_GROUP );
|
||||
break;
|
||||
|
||||
case NEW_GROUP:
|
||||
|
@ -674,12 +675,17 @@ public class GamesListDelegate extends ListDelegateBase
|
|||
String name = m_namer.getName();
|
||||
DBUtils.addGroup( m_activity, name );
|
||||
mkListAdapter();
|
||||
// onContentChanged();
|
||||
showNewGroupIf();
|
||||
}
|
||||
};
|
||||
lstnr2 = new DialogInterface.OnClickListener() {
|
||||
public void onClick( DialogInterface dlg, int item ) {
|
||||
showNewGroupIf();
|
||||
}
|
||||
};
|
||||
dialog = buildNamerDlg( "", R.string.newgroup_label,
|
||||
R.string.game_name_group_title,
|
||||
lstnr, DlgID.RENAME_GROUP );
|
||||
lstnr, lstnr2, DlgID.RENAME_GROUP );
|
||||
setRemoveOnDismiss( dialog, dlgID );
|
||||
break;
|
||||
|
||||
|
@ -710,7 +716,13 @@ public class GamesListDelegate extends ListDelegateBase
|
|||
}
|
||||
DBUtils.setGroupExpanded( m_activity, gid, true );
|
||||
mkListAdapter();
|
||||
// onContentChanged();
|
||||
}
|
||||
};
|
||||
DialogInterface.OnClickListener lstnr3 =
|
||||
new DialogInterface.OnClickListener() {
|
||||
public void onClick( DialogInterface dlg, int item ) {
|
||||
m_moveAfterNewGroup = true;
|
||||
showDialog( DlgID.NEW_GROUP );
|
||||
}
|
||||
};
|
||||
String[] groups = m_adapter.groupNames();
|
||||
|
@ -719,6 +731,7 @@ public class GamesListDelegate extends ListDelegateBase
|
|||
.setTitle( R.string.change_group )
|
||||
.setSingleChoiceItems( groups, curGroupPos, lstnr )
|
||||
.setPositiveButton( R.string.button_move, lstnr2 )
|
||||
.setNeutralButton( R.string.button_newgroup, lstnr3 )
|
||||
.setNegativeButton( R.string.button_cancel, null )
|
||||
.create();
|
||||
setRemoveOnDismiss( dialog, dlgID );
|
||||
|
@ -1141,7 +1154,7 @@ public class GamesListDelegate extends ListDelegateBase
|
|||
|
||||
// multiple games can be regrouped/reset.
|
||||
Utils.setItemVisible( menu, R.id.games_game_move,
|
||||
(1 < groupCount && 0 < nGamesSelected) );
|
||||
0 < nGamesSelected );
|
||||
Utils.setItemVisible( menu, R.id.games_game_reset,
|
||||
0 < nGamesSelected );
|
||||
|
||||
|
@ -1196,6 +1209,7 @@ public class GamesListDelegate extends ListDelegateBase
|
|||
break;
|
||||
|
||||
case R.id.games_menu_newgroup:
|
||||
m_moveAfterNewGroup = false;
|
||||
showDialog( DlgID.NEW_GROUP );
|
||||
break;
|
||||
|
||||
|
@ -1262,12 +1276,8 @@ public class GamesListDelegate extends ListDelegateBase
|
|||
break;
|
||||
|
||||
case R.id.games_game_move:
|
||||
if ( 1 >= m_adapter.getGroupCount() ) {
|
||||
showOKOnlyDialog( R.string.no_move_onegroup );
|
||||
} else {
|
||||
m_rowids = selRowIDs;
|
||||
showDialog( DlgID.CHANGE_GROUP );
|
||||
}
|
||||
m_rowids = selRowIDs;
|
||||
showDialog( DlgID.CHANGE_GROUP );
|
||||
break;
|
||||
case R.id.games_game_new_from:
|
||||
dropSels = true; // will select the new game instead
|
||||
|
@ -1671,22 +1681,32 @@ public class GamesListDelegate extends ListDelegateBase
|
|||
}
|
||||
|
||||
private Dialog buildNamerDlg( String curname, int labelID, int titleID,
|
||||
DialogInterface.OnClickListener lstnr,
|
||||
DialogInterface.OnClickListener lstnr1,
|
||||
DialogInterface.OnClickListener lstnr2,
|
||||
DlgID dlgID )
|
||||
{
|
||||
m_namer = (GameNamer)inflate( R.layout.rename_game );
|
||||
m_namer.setName( curname );
|
||||
m_namer.setLabel( labelID );
|
||||
|
||||
Dialog dialog = makeAlertBuilder()
|
||||
.setTitle( titleID )
|
||||
.setNegativeButton( R.string.button_cancel, null )
|
||||
.setPositiveButton( R.string.button_ok, lstnr )
|
||||
.setPositiveButton( R.string.button_ok, lstnr1 )
|
||||
.setNegativeButton( R.string.button_cancel, lstnr2 )
|
||||
.setView( m_namer )
|
||||
.create();
|
||||
setRemoveOnDismiss( dialog, dlgID );
|
||||
return dialog;
|
||||
}
|
||||
|
||||
private void showNewGroupIf()
|
||||
{
|
||||
if ( m_moveAfterNewGroup ) {
|
||||
m_moveAfterNewGroup = false;
|
||||
showDialog( DlgID.CHANGE_GROUP );
|
||||
}
|
||||
}
|
||||
|
||||
private void deleteGames( long[] rowids )
|
||||
{
|
||||
for ( long rowid : rowids ) {
|
||||
|
|
Loading…
Add table
Reference in a new issue