7715平台修改BUG记录
2014-08-03 08:21
381 查看
BUG:打开下载菜单,标题栏瞬间显示"文档";
把AndroidManifast.xml里
<application android:name=".DocumentsApplication"
android:label="@string/app_label"
android:supportsRtl="true">
中的 android:label="@string/app_label" 去掉了,全编后下载到手机里,再进下载,此时actionbar会先显示一下documentsUI的包名,然后再显示下载内容。
我后来将 android:label="@string/app_label" 改为android:label=" " 再编译,push到手机里,此时actionbar就不会显示名字,直接跳转显示下载内容了
DocumentsUI是为download功能提供服务接口的,frameworks/base/packages/下google原生设计可以是框架清晰,应该是为了其他应用还可以用;DocumentsUI里应该用到了android不向应用公开的接口或库.
BUG:主菜单界面上图标名称有三行时,第三行字体显示不全.
在BubbleTextView 这个类的属性里加一个属性 android:singleLine="true"
android主菜单的图片和名字都是用一个类BubbleTextView来实现的,所以只需要在这个里面改就可以。launcher3中用一个apps_customize_application.xml来控制 textview属性的,用到的类文件是PagedViewIcon.java
<com.android.launcher3.PagedViewIcon
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:launcher="http://schemas.android.com/apk/res-auto/com.android.launcher3"
style="@style/WorkspaceIcon.AppsCustomize"
android:id="@+id/application_icon"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:singleLine="true"
android:focusable="true"
android:background="@drawable/focusable_view_bg" />
把AndroidManifast.xml里
<application android:name=".DocumentsApplication"
android:label="@string/app_label"
android:supportsRtl="true">
中的 android:label="@string/app_label" 去掉了,全编后下载到手机里,再进下载,此时actionbar会先显示一下documentsUI的包名,然后再显示下载内容。
我后来将 android:label="@string/app_label" 改为android:label=" " 再编译,push到手机里,此时actionbar就不会显示名字,直接跳转显示下载内容了
DocumentsUI是为download功能提供服务接口的,frameworks/base/packages/下google原生设计可以是框架清晰,应该是为了其他应用还可以用;DocumentsUI里应该用到了android不向应用公开的接口或库.
BUG:主菜单界面上图标名称有三行时,第三行字体显示不全.
在BubbleTextView 这个类的属性里加一个属性 android:singleLine="true"
android主菜单的图片和名字都是用一个类BubbleTextView来实现的,所以只需要在这个里面改就可以。launcher3中用一个apps_customize_application.xml来控制 textview属性的,用到的类文件是PagedViewIcon.java
<com.android.launcher3.PagedViewIcon
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:launcher="http://schemas.android.com/apk/res-auto/com.android.launcher3"
style="@style/WorkspaceIcon.AppsCustomize"
android:id="@+id/application_icon"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:singleLine="true"
android:focusable="true"
android:background="@drawable/focusable_view_bg" />
相关文章推荐
- bug修改记录总结(不定时更新)
- NVelocity-0.4.2.8580 的修改记录[发个vs2008能用的版本] -- "It appears that no class was specified as the ResourceManager..." bug 修正等
- 作DNN CrossArticle模块BUG修改时,遇到2个小问题,在此记录一下。
- 代码从windows下visual studio到andriod平台迁移的修改记录
- javascript实时保存时出现修改多条记录的bug
- 修改一行代码,解决在C++ Builder平台上JSONCPP向数组添加元素的Bug
- 1001.A+B Format (20)(思路,bug发现及其修改,提交记录)
- UDPUDP发现一个BUG记录,后面修改
- 以前一直ok的程序今天不ok了---查找配置库修改记录快速定位bug
- BUG修改记录
- 46.Linux-分析rc红外遥控平台驱动框架,修改内核的NEC解码函数BUG(1)
- 【bug记录】Eclipse中修改文件保存后,总是提示Could not clean server of obsolete files
- 记录一次Bug修改__数据库连接不关闭引发的bug
- 作DNN CrossArticle模块BUG修改时,遇到2个小问题,在此记录一下。
- 代码从windows下visual studio到andriod平台迁移的修改记录
- mantis bug 管理平台 关于筛选一点记录
- 修改的bug记录
- 修改记录时选定Dropdownlist的默认值
- 修改记录字段值时错误Row cannot be located for updating的解决方法
- 利用DataGrid编辑、修改、删除记录