Added preference setting for display size. (normal/x1.5/double). Will be usable for the players using tablets.

Reworked scaling of bitmaps to always scale internally to the size preferred by the device, but scale them up according to scale preference when displaying instead.

git-svn-id: https://andors-trail.googlecode.com/svn/trunk@55 08aca716-68be-ccc6-4d58-36f5abd142ac
This commit is contained in:
oskar.wiksten
2011-03-09 19:19:51 +00:00
parent 881806690b
commit 71714bb2af
26 changed files with 129 additions and 58 deletions

View File

@@ -7,6 +7,13 @@
android:defaultValue="true"
android:summary="@string/preferences_display_fullscreen"
android:key="fullscreen" />
<ListPreference
android:title="@string/preferences_display_scaling_factor_title"
android:summary="@string/preferences_display_scaling_factor"
android:key="scaling_factor"
android:defaultValue="1.0f"
android:entries="@array/preferences_display_scaling_factor"
android:entryValues="@array/preferences_display_scaling_factor_values" />
</PreferenceCategory>
<PreferenceCategory
android:title="@string/preferences_dialog_category">