Cherish:Add option to disable scrolling cache [2/2]

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
Sang Tae Park
2018-09-13 20:54:17 +05:30
committed by Hưng Phan
parent b56864fef9
commit 9c0e1c565a
4 changed files with 45 additions and 0 deletions

View File

@@ -539,4 +539,19 @@
<item>6</item>
<item>7</item>
</string-array>
<!-- Option to enable/disable scrolling cache -->
<string-array name="entries_scrollingcache" translatable="false">
<item>@string/pref_scrollingcache_force_enable</item>
<item>@string/pref_scrollingcache_default_enable</item>
<item>@string/pref_scrollingcache_default_disable</item>
<item>@string/pref_scrollingcache_force_disable</item>
</string-array>
<string-array name="values_scrollingcache" translatable="false">
<item>0</item>
<item>1</item>
<item>2</item>
<item>3</item>
</string-array>
</resources>

View File

@@ -606,4 +606,12 @@
<string name="listview_overshoot_interpolator">Overshoot</string>
<string name="listview_anticipate_overshoot_interpolator">Anticipate and overshoot</string>
<string name="listview_bounce_interpolator">Bounce</string>
<!-- Option to enable/disable scrolling cache -->
<string name="pref_scrollingcache_title">Scrolling cache</string>
<string name="pref_scrollingcache_summary">Scrolling cache may improve scrolling performance at the cost of memory</string>
<string name="pref_scrollingcache_force_enable">Force enable</string>
<string name="pref_scrollingcache_default_enable">Default enable</string>
<string name="pref_scrollingcache_default_disable">Default disable</string>
<string name="pref_scrollingcache_force_disable">Force disable</string>
</resources>