mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-29 08:34:37 +01:00
add .xml file describing prefs (forgotten before); remove file menu.
This commit is contained in:
parent
4db8750ec0
commit
e6871c0840
2 changed files with 53 additions and 12 deletions
|
@ -64,17 +64,13 @@
|
|||
android:title="@string/board_menu_game_resend" />
|
||||
</menu>
|
||||
</item>
|
||||
<item android:title="@string/board_submenu_file">
|
||||
<menu>
|
||||
<item android:id="@+id/board_menu_file_prefs"
|
||||
android:title="@string/board_menu_file_prefs"
|
||||
android:alphabeticShortcut="P"
|
||||
/>
|
||||
<item android:id="@+id/board_menu_file_about"
|
||||
android:title="@string/board_menu_file_about"
|
||||
android:alphabeticShortcut="A"
|
||||
/>
|
||||
</menu>
|
||||
</item>
|
||||
<item android:id="@+id/board_menu_file_prefs"
|
||||
android:title="@string/board_menu_file_prefs"
|
||||
android:alphabeticShortcut="P"
|
||||
/>
|
||||
<item android:id="@+id/board_menu_file_about"
|
||||
android:title="@string/board_menu_file_about"
|
||||
android:alphabeticShortcut="A"
|
||||
/>
|
||||
|
||||
</menu>
|
||||
|
|
45
xwords4/android/XWords4/res/xml/xwprefs.xml
Normal file
45
xwords4/android/XWords4/res/xml/xwprefs.xml
Normal file
|
@ -0,0 +1,45 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:key="first_preferencescreen"
|
||||
>
|
||||
<PreferenceCategory android:title="@string/general_prefs"
|
||||
>
|
||||
|
||||
<CheckBoxPreference android:key="@string/key_color_tiles"
|
||||
android:title="@string/color_tiles"
|
||||
android:defaultValue="true"
|
||||
/>
|
||||
|
||||
<CheckBoxPreference android:key="@string/key_show_arrow"
|
||||
android:title="@string/show_arrow"
|
||||
android:defaultValue="true"
|
||||
/>
|
||||
<CheckBoxPreference android:key="@string/key_explain_robot"
|
||||
android:title="@string/explain_robot"
|
||||
android:defaultValue="false"
|
||||
/>
|
||||
<CheckBoxPreference android:key="@string/key_skip_confirm"
|
||||
android:title="@string/skip_confirm_turn"
|
||||
android:defaultValue="false"
|
||||
/>
|
||||
<CheckBoxPreference android:key="@string/key_hide_values"
|
||||
android:title="@string/hide_values"
|
||||
android:defaultValue="false"
|
||||
/>
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceScreen android:title="@string/prefs_colors"
|
||||
>
|
||||
<EditTextPreference android:key="@string/key_player0"
|
||||
android:title="@string/player0"
|
||||
android:defaultValue="0x000000"
|
||||
/>
|
||||
<EditTextPreference android:key="@string/key_player1"
|
||||
android:title="@string/player1"
|
||||
android:defaultValue="0xFF0000"
|
||||
/>
|
||||
</PreferenceScreen>
|
||||
|
||||
-->
|
||||
</PreferenceScreen>
|
Loading…
Add table
Reference in a new issue