安卓系统特效相关文件:存在于:framework-res.apk 反编译后的\framework-res\res\anim文件夹内!
anim文件夹下所有的文件都是特效文件
原理反编译framework-res.apk 替换anim文件夹下的文件达到修改特效的目的!
然后再重建framework-res.apk替换到手机,修改权限重启
特效文件名称.xml对应的相关特效fade_out最近任务下滑状态栏的日期 移除fade_in最近任务下滑状态栏的日期 移除status_bar_enter状态栏移除status_bar_exitr状态栏弹出wallpaper_open_exit应用程序退出 前一个页面 移除wallpaper_open_ente应用程序退出 前一个页面 弹出wallpaper_close_exie应用程序打开 前一个页面 移除wallpaper_close_enter应用程序打开 后一个页面 弹出options_panel_exi选项菜单移除options_panel_enter选项菜单弹出translucent_exit文本选择光标移除translucent_enter文本选择光标弹出toast_exit提示窗口移除toast_enter提示窗口弹出input_method_exit输入法面板移除input_method_enter输入法面板弹出lock_screen_exit解锁时锁屏窗口移除activity_open_exit活动退出 前一个页面移除activity_open_ente活动退出 前一个页面进入activity_close_exit活动打开 前一个页面移除activity_close_enter活动打开 前一个页面进入dialog_exit窗口移除dialog_enter窗口弹出
1.反编译framework-res.apk
1.打开你需要修改的特效文件(我随便打开一个)可以看到一下代码
<?xml version="1.0" encoding="utf-8"?>
<set android:interpolator="@anim/decelerate_interpolator"
xmlns:android="http://schemas.android.com/apk/res/android">
<translate android:duration="150" android:fromYDelta="0.0%" android:toYDelta="-100.0" />
<scale android:duration="100" android:pivotX="50.0%" android:pivotY="50.0%" android:startOffset="200" android:fromXScale="1.0" android:toXScale="0.05" android:fromYScale="1.0" android:toYScale="1.0" />
</set>
复制代码
3.看上面代码的这一句!
android:duration="150"
这一句代码的 150 就代表这个特效持续的时间!数值越小,速度越快!!
但是,不是所有的android:duration=后面都是数字! 有可能是这种!!
android:duration="@integer/config_shortAnimTime"
这个就是说它持续的时间引用了integer中的 config_shortAnimTime的值
像这种就有两中修改的方法!
1;直接把
android:duration="@integer/config_shortAnimTime"
修改为
android:duration="150"
数字150 可以自定!!
2;打开\framework-res\res\values\integers.xml文件
找到这句
<integer name="config_shortAnimTime">100</integer>
修改这句对应的数值就可以了
注意,第二种方法会修改所有引用integer的特效!!
这样也可以用于修改全局特效速度!!
anim文件夹下所有的文件都是特效文件
原理反编译framework-res.apk 替换anim文件夹下的文件达到修改特效的目的!
然后再重建framework-res.apk替换到手机,修改权限重启
特效文件名称.xml对应的相关特效fade_out最近任务下滑状态栏的日期 移除fade_in最近任务下滑状态栏的日期 移除status_bar_enter状态栏移除status_bar_exitr状态栏弹出wallpaper_open_exit应用程序退出 前一个页面 移除wallpaper_open_ente应用程序退出 前一个页面 弹出wallpaper_close_exie应用程序打开 前一个页面 移除wallpaper_close_enter应用程序打开 后一个页面 弹出options_panel_exi选项菜单移除options_panel_enter选项菜单弹出translucent_exit文本选择光标移除translucent_enter文本选择光标弹出toast_exit提示窗口移除toast_enter提示窗口弹出input_method_exit输入法面板移除input_method_enter输入法面板弹出lock_screen_exit解锁时锁屏窗口移除activity_open_exit活动退出 前一个页面移除activity_open_ente活动退出 前一个页面进入activity_close_exit活动打开 前一个页面移除activity_close_enter活动打开 前一个页面进入dialog_exit窗口移除dialog_enter窗口弹出
1.反编译framework-res.apk
1.打开你需要修改的特效文件(我随便打开一个)可以看到一下代码
<?xml version="1.0" encoding="utf-8"?>
<set android:interpolator="@anim/decelerate_interpolator"
xmlns:android="http://schemas.android.com/apk/res/android">
<translate android:duration="150" android:fromYDelta="0.0%" android:toYDelta="-100.0" />
<scale android:duration="100" android:pivotX="50.0%" android:pivotY="50.0%" android:startOffset="200" android:fromXScale="1.0" android:toXScale="0.05" android:fromYScale="1.0" android:toYScale="1.0" />
</set>
复制代码
3.看上面代码的这一句!
android:duration="150"
这一句代码的 150 就代表这个特效持续的时间!数值越小,速度越快!!
但是,不是所有的android:duration=后面都是数字! 有可能是这种!!
android:duration="@integer/config_shortAnimTime"
这个就是说它持续的时间引用了integer中的 config_shortAnimTime的值
像这种就有两中修改的方法!
1;直接把
android:duration="@integer/config_shortAnimTime"
修改为
android:duration="150"
数字150 可以自定!!
2;打开\framework-res\res\values\integers.xml文件
找到这句
<integer name="config_shortAnimTime">100</integer>
修改这句对应的数值就可以了
注意,第二种方法会修改所有引用integer的特效!!
这样也可以用于修改全局特效速度!!