android in the continuous shot menu to increase the number of shots option function implementation code

  • 2020-05-10 18:47:36
  • OfStack

Modify the following code in \packages\apps\Camera\res\values\ arrays.xml:
 
<string-array name="pref_camera_continuous_number_entries"> 
<item>@string/pref_camera_continuous_number_normal</item> 
<item>@string/pref_camera_continuous_number_large</item> 
</string-array> 

<string-array name="pref_camera_continuous_number_entryvalues" translatable="false"> 
<item>40</item> 
<item>99</item> 
</string-array> 

You need to add two items in entries, entryvalues, and the corresponding string in mtk_strings.xml.

Related articles: