didi / didi/DoKit

使用布局边框崩溃问题

Open
#673 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
20.4k
Forks
3.2k
Avg merge
1d 12h
Merged PRs (30d)
2

Description

Please complete the following informations.
> Expected behavior and actual behavior.
> Steps to reproduce the problem.
> Android or iOS? OS version? Brand?
> More informations such as error messages and stack traces are welcomed.

请补充如下信息。
> 正常运行
> 使用 布局边框 功能,如果自定义的View调用了 `view.getBackground().getConstantState().newDrawable();` 这时候 `view.getBackground()` 返回的是 `LayerDrawable` 存在null异常
> Andorid
> 无
> 无

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.