The custom layout of Notification is RemoteViews and other RemoteViews. In the custom view layout file, only FrameLayout, LinearLayout, RelativeLayout three layouts and AnalogClock, Chronometer, Button, ImageButton, ImageView, ProgressBar, TextView, ViewFlipper, ListView, GridView are supported Display controls such as, StackView and AdapterViewFlipper do not support subclasses of these classes or other controls provided by Android, otherwise it will cause exceptions.
Notification custom layout
Guess you like
Origin blog.csdn.net/hai_jian/article/details/111557727
Recommended
Ranking