手把手教您-将Gallery导入eclipse
16lz
2021-01-26
具体导入过程与上一篇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
更多相关文章
- android studio导入项目报错Plugin with id 'com.android.applic
- android动态修改drawable颜色及大小
- androidpn No response from server
- flutter APP 应用名称、启动页、图标配置
- Android(安卓)Studio Gradle Build Running 特别慢的问题探讨
- 编译android源码的过程
- Kivy A to Z -- Android(安卓)apk的生成过程
- 以修改字体为例谈Android的listView开发优化
- android4.4 添加以太网ethernet方法