android在连拍菜单中增加连拍张数选项功能实现代码
内容摘要
修改\packages\apps\Camera\res\values\arrays.xml中的以下代码: 复制代码 代码如下: <string-array name="pref_camera_continuous_number_entries"> <item>@string/pref_ca
文章正文
修改\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>
需要在entries, entryvalues中添加两项,同时在mtk_strings.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>
需要在entries, entryvalues中添加两项,同时在mtk_strings.xml中添加相应的字符串。
代码注释