android怎么调用系统日历的添加事件界面

 我来答
匿名用户
2017-03-02
展开全部
 详细修改如下:   1/apk/res-   auto/com.android.launcher3">   +   + <shortcut   + launcher:unreadPackageName="com.android.dialer"   + launcher:unreadClassName="com.android.dialer.DialtactsActivity"   + launcher:unreadType="0"   + launcher:unreadKey="com_android_contacts_unread"   + />   + <shortcut   + launcher:unreadPackageName="com.android.mms"   + launcher:unreadClassName="com.android.mms.ui.BootActivity"   + launcher:unreadType="0"   + launcher:unreadKey="com_android_mms_unread"   + />   + <shortcut   + launcher:unreadPackageName="com.android.email"   + launcher:unreadClassName="com.android.email.activity.Welcome"   + launcher:unreadType="0"   + launcher:unreadKey="com_android_email_unread"   + />   + <shortcut   + launcher:unreadPackageName="com.android.calendar"   + launcher:unreadClassName="com.android.calendar.AllInOneActivity"   + launcher:unreadType="0"   + launcher:unreadKey="com_android_calendar_unread"   + />   + <shortcut   + launcher:unreadPackageName="com.orangelabs.rcs"   +   launcher:unreadClassName="com.mediatek.rcse.activities.ChatMainActivity"   + launcher:unreadType="0"   + launcher:unreadKey="com_android_rcse_unread"   + />   + <shortcut   + launcher:unreadPackageName="com.android.cellbroadcastreceiver"   +   launcher:unreadClassName="com.android.cellbroadcastreceiver.CellBroadcastLis   tActivity"   + launcher:unreadType="0"   + launcher:unreadKey="com_android_calendar_unread"   + />   + <shortcut   + launcher:unreadPackageName="com.mediatek.cellbroadcastreceiver"   +   launcher:unreadClassName="com.mediatek.cellbroadcastreceiver.CellBroadcastLi   stActivity"   + launcher:unreadType="0"   + launcher:unreadKey="com_mediatek_cellbroadcastreceiver_unread"   + />   +</unreadshortcuts>   3.添加几种需要用到而之前没有的权限:   b/packages/apps/Launcher3/AndroidManifest.xml   <original-package android:name="com.android.launcher3" />   <uses-permission android:name="android.permission.CHANGE_CONFIGURATION"/>   + <uses-permission   android:name="android.permission.ADVANCED_WIDGET_API"/>   + <uses-permission android:name="android.permission.WRITE_SETTINGS"/>   + <uses-permission android:name="android.permission.INSTALL_PACKAGES"/>   + <uses-permission android:name="android.permission.DELETE_PACKAGES"/>   4.定义要用的字符串:b/packages/apps/Launcher3/res/values/attrs.xml   + <!-- XML attributes used by unread_support_shortcuts.xml -->   + <declare-styleable name="UnreadShortcut">   + <attr name="unreadPackageName" format="string" />   + <attr name="unreadClassName" format="string" />   + <attr name="unreadKey" format="string" />   + <attr name="unreadType" format="integer" />   + </declare-styleable>   5.定义显示的数字大小尺寸,这个可以自己修改到满意,这个是四行五列排列的   1080*1920屏幕大小的尺寸。   b/packages/apps/Launcher3/res/values/dimens.xml   + <!-- Add for unread events feature. -->   + <dimen name="unread_minWidth">20dp</dimen>   + <dimen name="hotseat_unread_margin_top">16dp</dimen>   + <dimen name="hotseat_unread_margin_right">8dp</dimen>   + <dimen name="folder_unread_margin_top">16dp</dimen>   + <dimen name="folder_unread_margin_right">14dp</dimen>   + <dimen name="workspace_unread_margin_top">16dp</dimen>   + <dimen name="workspace_unread_margin_right">16dp</dimen>   + <dimen name="app_list_unread_margin_top">20dp</dimen>   + <dimen name="app_list_unread_margin_right">16dp</dimen>   + <dimen name="unread_text_margin">8dp</dimen>   + <dimen name="unread_text_number_size">14sp</dimen>   + <dimen name="unread_text_plus_size">10sp</dimen>
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式