BUG:打开下载菜单,标题栏瞬间显示"文档";

把AndroidManifast.xml里 


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

    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" />

更多相关文章

  1. Android初步了解入门
  2. Android图形显示系统——一张图片的显示流程
  3. Android-ListView几个比较特别的属性
  4. Android底部导航栏+消息提醒
  5. Android(安卓)toolbar overflow菜单 文字显示不全
  6. Android(安卓)EditText属性介绍及监听内容变化
  7. Android之TextView属性详解
  8. Android菜鸟日记12 Gallery
  9. Android中常用基本控件的使用方法和步骤(.txt)

随机推荐

  1. Android常用知识笔记
  2. Android(安卓)10ms问题:关于Android音频路
  3. Android(安卓)之 EditText属性用法介绍
  4. android 设置Button或者ImageButton的背
  5. Android(安卓)API中文文档ImageView
  6. Android实现透明的颜色效果
  7. Android(安卓)Camera 方法分析
  8. 三十三、Android给ListView设置分割线Div
  9. Edittext设置输入属性,包括使用代码设置
  10. android在RelativeLayout里的TextView或