Notification内容过长被-ramiss人机工程中文版教程
                    [FAQ05061]Android2.3 Notification内容过长被截断,无法完整显示[Description] Android2.3版本上Notification内容过长被截断,无法完整显示[Solution]此问题是google默认的设计,如果要求内容分多行完整的显示,请参考下面的方法: 1、\frameworks\base\core\res\layout\status_bar_latest_event_content.xml”将android:id="@+id/text"这个TextView定义中的android:singleLine="true"和android:ellipsize="marquee"两行定义删除。 2、\frameworks\base\packages\SystemUI\res\layout\status_bar_latest_event.xml”将LinearLayout的android:layout_height="65sp"修改为android:layout_height="wrap_content"将LatestItemView的android:layout_height="64sp"修改为android:layout_height="wrap_content"                
            
                                        
                                    文件大小:26.74MB
                                
                                
                                
                            
评论区