代码:
String.xml
<?xml version="1.0" encoding="utf-8"?> <resources>
<string name="app_name">shudu</string> <string name="action_settings">Settings</string> <string name="hello_world">Hello world!</string> <string name="main_title">Android shudu</string> <string name="continue_label">Continue</string> <string name="new_game_label">New Game</string> <string name="about_label">About</string> <string name="exit_label">Exit</string> <string name="setting_title">Shudu setting</string> <string name="setting_label">Setting...</string> <string name="setting_shorcut">Shortcut</string> <string name="music_title">Music</string> <string name="music_summary">Play background music</string> <string name="hints_title">Hints</string> <string name="hints_summary">Show hints druing play</string> <string name="new_game_title">Difficulty</string> <string name="easy_label">Easy</string> <string name="medium_label">Medium</string> <string name="hard_label">Hard</string> <string name="game_title">Game</string> <string name="no_moves_label">No moves</string> <string name="keypad_title">Keypad</string> <string name="about_title">About Android Shudu</string> <string name="about_text"> Shudu is a logic-based number placement puzzle. Starting with a partially completed 9x9 grid, the objective is to fill the grid so that each row, each column, and each of the 3x3 boxes (also called <i>blocks</i>) contains the digits 1 to 9 exactly once. </string> <string name="login">登录</string> <string name="register">注册</string>
</resources>
color.xml
<?xml version="1.0" encoding="utf-8"?> <resources> <color name="background">#ff2f4f4f</color> <color name="puzzle_background">#ffe6f0ff</color> <color name="puzzle_hilite">#ffffffff</color> <color name="puzzle_light">#64c6d4ef</color> <color name="puzzle_dark">#6456648f</color> <color name="puzzle_foreground">#ff000000</color> <color name="puzzle_hint_0">#64ff0000</color> <color name="puzzle_hint_1">#6400ff80</color> <color name="puzzle_hint_2">#2000ff80</color> <color name="puzzle_selected">#64ff8000</color> </resources>
运行截图:
|