android手机壁纸
来源:互联网 发布:淘宝店铺店招怎么设置 编辑:程序博客网 时间:2024/05/03 03:53
android手机系统含有两种壁纸,一种是默认壁纸,还有一种是其他的。
默认壁纸一般存储在framework里:frameworks\base\core\res\res\drawable-nodpi\default_wallpaper.png
其他壁纸存储在Launcher里:packages\apps\Launcher3\WallpaperPicker\res,我们在packages\apps\Launcher3\WallpaperPicker\res\drawable-nodpi目录下存放了一些壁纸,原图和其小图,其中Launcher不一定为Launcher3,也可以为Launcher2,关键看你手机用的是哪个launcher。我们需要在packages\apps\Launcher3\WallpaperPicker\res\values-nodpi\目录下对wallpapers.xml文件进行修改:
<?xml version="1.0" encoding="utf-8"?><!-- * Copyright (C) 2009 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. --><resources> <string-array name="wallpapers" translatable="false"><item>wallpaper_01</item><item>wallpaper_02</item> <item>wallpaper_03</item> <item>wallpaper_04</item><item>wallpaper_05</item><item>wallpaper_06</item> </string-array></resources>上图中,红色部分就是其他壁纸,长按桌面,弹出小部件和壁纸,点击壁纸,就会显示出默认壁纸和其他壁纸了。
阅读全文
0 0
- android手机壁纸
- Android手机壁纸(静态)
- Android 手机壁纸(动态1)
- 手机壁纸
- Android 手机壁纸(动态2)
- Android设置手机壁纸(WallPaper)
- Android手机壁纸(Android学习随笔二)
- Android设置图片为手机壁纸,并且全屏显示。
- 增加手机壁纸
- 手机壁纸获取和判断
- 安卓中改变手机壁纸
- 手机壁纸设置相关
- 可爱兔斯基手机壁纸这样的卡通动漫手机壁纸喜欢吧
- 2012北京车展大尺度宝贝 手机壁纸
- 喜迎世界杯,2014世界杯手机壁纸下载
- 【手机壁纸之恶魔与唯美☆U☆】
- 发现了好多邻家妹纸清纯可爱高清手机壁纸。
- Android
- 自定义view中的layoutSubview与drawRect简单总结
- node+react+ant 项目
- oracle sql语句优化
- 单链表逆序
- Invenio开发指导(二)--扩展
- android手机壁纸
- Linux命令学习
- 如何设置直播前添加或插入10秒广告
- js小知识
- ssma
- 面向对象---匿名内部类
- 给自己一个定位
- Android之使用参数改变ProgressDialog的位置、大小、背景透明度、屏幕透明度
- 【脚本语言系列】关于Python代码包/代码库搜索,你需要知道的事