具体导入过程与上一篇Camera的导入过程一样,
但是,导入后,在res/values/styles.xml文件会出现以下问题:
No resource found that matches the given name 'android:style/Theme.Dialog.Alert'.
具体修改方法为:
将: <style name="Theme.DeleteImageDialog" parent="android:style/Theme.Dialog.Alert">
修改为:
<style name="Theme.DeleteImageDialog" parent="@*android:style/Theme.Dialog.Alert">
主要原因是android:style/Theme.Dialog.Alert不公有的,导入eclipse后需要添加*才可使用。
另外Gallery需要导入framework_intermediates目录下的classes.jar包,并且将Order设定为Top