应用程序的名字分两行显示

来源:互联网 发布:什么软件可以看港片 编辑:程序博客网 时间:2024/03/29 04:55

展讯6820平台,默认主菜单和workspace里的应用程序的名字是显示一行,超过六个字符时就会缩略显示,通过修改以下文件让其分两行显示,显示完全

\packages\apps\Launcher2\res\layout-port\application_boxed_horizontal.xml中将    android:singleLine ="true"修改为    android:singleLine ="false"即可,同理

workspace里的应用程序名字显示两行可修改packages\apps\Launcher2\res\values\styles.xml中的android:singleLine ="true"修改为    android:singleLine ="false"

另去掉workspace里应用程序图标下文字黑色的背景为透明可修改:packages\apps\Launcher2\res\values\colors.xml中的    <color name="bubble_dark_background">#00ffffff</color>

原创粉丝点击