Skip to content

doesn't work on the child item of recylerview #19

Description

@OnClickListener2048
No description provided.

Activity

  1. wenmin92 commented on Mar 8, 2018

    @wenmin92

    See my fork, I fixed this problem.
    Just use getWidth() & getHeight() methods instead of bounds.
    因为性能原因,不再回收创建的mBitmap。

    forked

  2. shenyunmeng0519 commented on May 8, 2019

    @shenyunmeng0519

    See my fork, I fixed this problem.
    Just use getWidth() & getHeight() methods instead of bounds.
    因为性能原因,不再回收创建的mBitmap。
    forked

    这个阴影效果能在按钮四周都有吗,我看只能设置一遍

  3. wenmin92 commented on May 8, 2019

    @wenmin92

    hi @shenyunmeng0519 , 这个阴影效果的实现原理很简单, 就是画2次, 第1次画的内容变成阴影, 后1次的覆盖在上面. 按钮的阴影效果也是可以实现的, 原理一样, 按钮设置背景即可(颜色或图片), 但是, 我觉得这个效率不好, 直接使用5.0的新API自带的阴影更合适.

  4. shenyunmeng0519 commented on May 8, 2019

    @shenyunmeng0519

    hi @shenyunmeng0519 , 这个阴影效果的实现原理很简单, 就是画2次, 第1次画的内容变成阴影, 后1次的覆盖在上面. 按钮的阴影效果也是可以实现的, 原理一样, 按钮设置背景即可(颜色或图片), 但是, 我觉得这个效率不好, 直接使用5.0的新API自带的阴影更合适.

    但是自带的可以改颜色吗

  5. shenyunmeng0519 commented on May 8, 2019

    @shenyunmeng0519

    5.0的新API自带的阴影

    而且我看这个效果只能放一个固定的角度,我想要四周都有按钮应该怎么修改呢

  6. wenmin92 commented on May 8, 2019

    @wenmin92

    加个好友讨论吧

  7. shenyunmeng0519 commented on May 8, 2019

    @shenyunmeng0519

    加个好友讨论吧

    好,895447910我扣扣

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions