mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-20 22:26:54 +01:00
tweak appearance of snapshots preferences
This commit is contained in:
parent
b2f864c7ce
commit
5a555b11b0
4 changed files with 31 additions and 30 deletions
|
@ -58,7 +58,7 @@
|
|||
<string name="key_enable_sms">key_enable_sms</string>
|
||||
<string name="key_keep_screenon">key_keep_screenon</string>
|
||||
<string name="key_thumbsize">key_thumbsize2</string>
|
||||
<string name="key_thumb_disabled">key_thumb_disabled</string>
|
||||
<string name="key_thumb_enabled">key_thumb_disabled</string>
|
||||
<string name="key_thumb_useactive">key_thumb_useactive</string>
|
||||
|
||||
<string name="key_summary_field">key_summary_field</string>
|
||||
|
|
|
@ -2159,12 +2159,12 @@
|
|||
<string name="summary_thumbsize">Thumbnail size</string>
|
||||
<string name="sel_dictsf">Wordlists: %d</string>
|
||||
|
||||
<string name="thumb_disabled">Thumb disabled</string>
|
||||
<string name="summary_thumb_disabled">Summary thumb disbled</string>
|
||||
<string name="thumb_enabled">Show thumbnails</string>
|
||||
<string name="summary_thumb_enabled">Display snapshots of games</string>
|
||||
<string name="thumb_useactive">thumb_useactive</string>
|
||||
<string name="summary_thumb_useactive">summary_thumb_useactive</string>
|
||||
|
||||
<string name="prefs_thumb">Thumbnail prefs</string>
|
||||
<string name="prefs_thumb_summary">prefs_thumb_summary</string>
|
||||
<string name="prefs_thumb">Thumbnails</string>
|
||||
<string name="prefs_thumb_summary">Setting for game snapshots</string>
|
||||
|
||||
</resources>
|
||||
|
|
|
@ -110,6 +110,30 @@
|
|||
<PreferenceScreen android:title="@string/prefs_appearance"
|
||||
android:summary="@string/prefs_appearance_summary"
|
||||
>
|
||||
<PreferenceScreen android:title="@string/prefs_thumb"
|
||||
android:summary="@string/prefs_thumb_summary"
|
||||
>
|
||||
<CheckBoxPreference android:key="@string/key_thumb_enabled"
|
||||
android:title="@string/thumb_enabled"
|
||||
android:summary="@string/summary_thumb_enabled"
|
||||
android:defaultValue="true"
|
||||
/>
|
||||
|
||||
<CheckBoxPreference android:key="@string/key_thumb_useactive"
|
||||
android:title="@string/thumb_useactive"
|
||||
android:summary="@string/summary_thumb_useactive"
|
||||
android:defaultValue="false"
|
||||
/>
|
||||
|
||||
<org.eehouse.android.xw4.XWListPreference
|
||||
android:key="@string/key_thumbsize"
|
||||
android:title="@string/summary_thumbsize"
|
||||
android:entries="@array/game_thumb_values"
|
||||
android:entryValues="@array/game_thumb_values"
|
||||
android:defaultValue="@string/game_thumb_third"
|
||||
/>
|
||||
</PreferenceScreen>
|
||||
|
||||
<org.eehouse.android.xw4.XWListPreference
|
||||
android:key="@string/key_summary_field"
|
||||
android:title="@string/summary_field"
|
||||
|
@ -117,6 +141,7 @@
|
|||
android:entryValues="@array/game_summary_values"
|
||||
android:defaultValue="@string/game_summary_field_opponents"
|
||||
/>
|
||||
|
||||
<CheckBoxPreference android:key="@string/key_hide_title"
|
||||
android:title="@string/hide_title"
|
||||
android:summary="@string/hide_title_summary"
|
||||
|
@ -138,30 +163,6 @@
|
|||
android:defaultValue="false"
|
||||
/>
|
||||
|
||||
<PreferenceScreen android:title="@string/prefs_thumb"
|
||||
android:summary="@string/prefs_thumb_summary"
|
||||
>
|
||||
<CheckBoxPreference android:key="@string/key_thumb_disabled"
|
||||
android:title="@string/thumb_disabled"
|
||||
android:summary="@string/summary_thumb_disabled"
|
||||
android:defaultValue="false"
|
||||
/>
|
||||
|
||||
<CheckBoxPreference android:key="@string/key_thumb_useactive"
|
||||
android:title="@string/thumb_useactive"
|
||||
android:summary="@string/summary_thumb_useactive"
|
||||
android:defaultValue="false"
|
||||
/>
|
||||
|
||||
<org.eehouse.android.xw4.XWListPreference
|
||||
android:key="@string/key_thumbsize"
|
||||
android:title="@string/summary_thumbsize"
|
||||
android:entries="@array/game_thumb_values"
|
||||
android:entryValues="@array/game_thumb_values"
|
||||
android:defaultValue="@string/game_thumb_third"
|
||||
/>
|
||||
</PreferenceScreen>
|
||||
|
||||
<PreferenceScreen android:title="@string/prefs_colors"
|
||||
android:summary="@string/prefs_colors_summary"
|
||||
>
|
||||
|
|
|
@ -330,7 +330,7 @@ public class XWPrefs {
|
|||
|
||||
public static boolean getThumbEnabled( Context context )
|
||||
{
|
||||
return !getPrefsBoolean( context, R.string.key_thumb_disabled, false );
|
||||
return getPrefsBoolean( context, R.string.key_thumb_enabled, false );
|
||||
}
|
||||
|
||||
public static boolean getUseActiveRect( Context context )
|
||||
|
|
Loading…
Reference in a new issue