mirror of
https://gitea.winboll.cc/Studio/WinBoLL.git
synced 2026-09-03 16:47:37 +08:00
feat(appbase): 添加桌面图标快捷菜单并修复颜色资源崩溃
1. 桌面图标长按快捷菜单
- 在MainActivity注册动态快捷方式,长按桌面图标显示
- 快捷入口邮件设置,点击打开APPExcetionMailSettingsActivity
2. 修复colors.xml移除后XML资源引用崩溃
- drawable/styles/layout中28处@color/引用替换为内联色值
- 修复CrashActivity启动时Resources:
ic_launcher_background → @color/colorPrimary 找不到
This commit is contained in:
@@ -10,8 +10,8 @@
|
||||
<shape android:shape="rectangle" >
|
||||
<gradient
|
||||
android:angle="270"
|
||||
android:endColor="@color/colorPrimary"
|
||||
android:startColor="@color/colorPrimary" />
|
||||
android:endColor="#FF00B322"
|
||||
android:startColor="#FF00B322" />
|
||||
<corners
|
||||
android:bottomLeftRadius="6dip"
|
||||
android:bottomRightRadius="6dip"
|
||||
@@ -29,8 +29,8 @@
|
||||
<shape android:shape="rectangle" >
|
||||
<gradient
|
||||
android:angle="270"
|
||||
android:endColor="@color/colorPrimary"
|
||||
android:startColor="@color/colorPrimary" />
|
||||
android:endColor="#FF00B322"
|
||||
android:startColor="#FF00B322" />
|
||||
<corners
|
||||
android:bottomLeftRadius="6dip"
|
||||
android:bottomRightRadius="6dip"
|
||||
|
||||
Reference in New Issue
Block a user