Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Feature: Added support for background drawables #42

Open
wants to merge 45 commits into
base: main
Choose a base branch
from

Commits on Aug 27, 2020

  1. Library: Added background drawable support

    Tamim Attafi committed Aug 27, 2020
    Configuration menu
    Copy the full SHA
    a5719b0 View commit details
    Browse the repository at this point in the history
  2. Sample: Added background drawable examples

    Tamim Attafi committed Aug 27, 2020
    Configuration menu
    Copy the full SHA
    8257d29 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2020

  1. Merge pull request #1 from tamimattafi/dev

    New Feature: added background drawable support to all current components
    tamimattafi authored Aug 28, 2020
    Configuration menu
    Copy the full SHA
    5df7ef4 View commit details
    Browse the repository at this point in the history
  2. Library: Fix fornewid#41 - setBackgroundDrawable called before shapeD…

    …rawable is initialized
    tamimattafi committed Aug 28, 2020
    Configuration menu
    Copy the full SHA
    17bc908 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6be1002 View commit details
    Browse the repository at this point in the history
  4. Library: Fixed app crashing when initializing a component that is bas…

    …ed on AppCompat components
    tamimattafi committed Aug 28, 2020
    Configuration menu
    Copy the full SHA
    ca9c881 View commit details
    Browse the repository at this point in the history
  5. Library: Code refactoring

    tamimattafi committed Aug 28, 2020
    Configuration menu
    Copy the full SHA
    a066254 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2021

  1. Configuration menu
    Copy the full SHA
    e1d287d View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2021

  1. Optimizations: Made reusable bitmaps and shapes references softly rea…

    …chable
    Tamim Attafi authored and Tamim Attafi committed Feb 20, 2021
    Configuration menu
    Copy the full SHA
    106a526 View commit details
    Browse the repository at this point in the history
  2. Project: Updated target api version, updated kotlin and gradle wrappe…

    …r version, updated dependecies versions
    Tamim Attafi authored and Tamim Attafi committed Feb 20, 2021
    Configuration menu
    Copy the full SHA
    cfcdbc2 View commit details
    Browse the repository at this point in the history
  3. Optimization: Changed rect hash code calculation to depend on width a…

    …nd height only
    Tamim Attafi authored and Tamim Attafi committed Feb 20, 2021
    Configuration menu
    Copy the full SHA
    0954522 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2021

  1. fix: Added max cache size, removed bitmap cache

    Tamim Attafi authored and Tamim Attafi committed Nov 12, 2021
    Configuration menu
    Copy the full SHA
    8d045ae View commit details
    Browse the repository at this point in the history
  2. feat: Add button click animation (partially)

    Tamim Attafi authored and Tamim Attafi committed Nov 12, 2021
    Configuration menu
    Copy the full SHA
    d866bac View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2021

  1. update: Upgrade dependecies versions

    Tamim Attafi authored and Tamim Attafi committed Nov 24, 2021
    Configuration menu
    Copy the full SHA
    cc2c2dd View commit details
    Browse the repository at this point in the history
  2. config: Downgrade kotlin and gradle versions

    Tamim Attafi authored and Tamim Attafi committed Nov 24, 2021
    Configuration menu
    Copy the full SHA
    42b18ad View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2022

  1. feat: Create shadow drawable

    Tamim Attafi authored and Tamim Attafi committed Feb 4, 2022
    Configuration menu
    Copy the full SHA
    a923580 View commit details
    Browse the repository at this point in the history
  2. fix: Correct press animation

    Tamim Attafi authored and Tamim Attafi committed Feb 4, 2022
    Configuration menu
    Copy the full SHA
    c2c1d82 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #2 from tamimattafi/feat/press_animation

    Add Press Animation
    tamimattafi authored Feb 4, 2022
    Configuration menu
    Copy the full SHA
    db5a05f View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2022

  1. fix: Remove inset, adjust pressed shape shadows

    Tamim Attafi authored and Tamim Attafi committed Feb 5, 2022
    Configuration menu
    Copy the full SHA
    d834ffd View commit details
    Browse the repository at this point in the history
  2. fix: Correct flat shape shadow

    Tamim Attafi authored and Tamim Attafi committed Feb 5, 2022
    Configuration menu
    Copy the full SHA
    61434c8 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2022

  1. fix: Add oval shadow coverage

    Tamim Attafi authored and Tamim Attafi committed Feb 6, 2022
    Configuration menu
    Copy the full SHA
    2b43c88 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2022

  1. fix: Merge light and dark shadow in one drawable

    Tamim Attafi authored and Tamim Attafi committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    a392fca View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2022

  1. fix: Combine light and dark shadows in one bitmap

    Tamim Attafi authored and Tamim Attafi committed Feb 8, 2022
    Configuration menu
    Copy the full SHA
    9c9775c View commit details
    Browse the repository at this point in the history
  2. fix: Correct radius and elevation

    Tamim Attafi authored and Tamim Attafi committed Feb 8, 2022
    Configuration menu
    Copy the full SHA
    ee4b3ff View commit details
    Browse the repository at this point in the history
  3. fix: Use arcs to draw shadow

    Tamim Attafi authored and Tamim Attafi committed Feb 8, 2022
    Configuration menu
    Copy the full SHA
    4cbddce View commit details
    Browse the repository at this point in the history
  4. fix: Correct outer shadow appearance

    Tamim Attafi authored and Tamim Attafi committed Feb 8, 2022
    Configuration menu
    Copy the full SHA
    b21aad3 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2022

  1. fix: Add new shadow drawable

    Tamim Attafi authored and Tamim Attafi committed Feb 9, 2022
    Configuration menu
    Copy the full SHA
    67180ad View commit details
    Browse the repository at this point in the history
  2. fix: Inner and outer shadow elevation

    Tamim Attafi authored and Tamim Attafi committed Feb 9, 2022
    Configuration menu
    Copy the full SHA
    090659f View commit details
    Browse the repository at this point in the history
  3. fix: Use blur paint instead of rs and stack

    Tamim Attafi authored and Tamim Attafi committed Feb 9, 2022
    Configuration menu
    Copy the full SHA
    7236b99 View commit details
    Browse the repository at this point in the history
  4. fix: Correct inner shadow

    Tamim Attafi authored and Tamim Attafi committed Feb 9, 2022
    Configuration menu
    Copy the full SHA
    b918a23 View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2022

  1. fix: Fixed bitmap caching

    Tamim Attafi authored and Tamim Attafi committed Feb 10, 2022
    Configuration menu
    Copy the full SHA
    07c3106 View commit details
    Browse the repository at this point in the history
  2. fix: Add simple press animation

    Tamim Attafi authored and Tamim Attafi committed Feb 10, 2022
    Configuration menu
    Copy the full SHA
    1a8d79d View commit details
    Browse the repository at this point in the history
  3. feat: Add radius attribute to xml

    Tamim Attafi authored and Tamim Attafi committed Feb 10, 2022
    Configuration menu
    Copy the full SHA
    5597bc8 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #3 from tamimattafi/fix/shadow_elevation

    fix: correct shadow elevation
    tamimattafi authored Feb 10, 2022
    Configuration menu
    Copy the full SHA
    4f3f9a4 View commit details
    Browse the repository at this point in the history
  5. feat: Add flat press animation

    Tamim Attafi authored and Tamim Attafi committed Feb 10, 2022
    Configuration menu
    Copy the full SHA
    e7b6f91 View commit details
    Browse the repository at this point in the history
  6. fix: add basin press animation

    Tamim Attafi authored and Tamim Attafi committed Feb 10, 2022
    Configuration menu
    Copy the full SHA
    bfd73b6 View commit details
    Browse the repository at this point in the history
  7. feat: Add support for shape drawable

    Tamim Attafi authored and Tamim Attafi committed Feb 10, 2022
    Configuration menu
    Copy the full SHA
    33fcaf8 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #4 from tamimattafi/feat/click_animation

    feat: Add click animation
    tamimattafi authored Feb 10, 2022
    Configuration menu
    Copy the full SHA
    189ffa6 View commit details
    Browse the repository at this point in the history
  9. fix: Crash when setting drawable state from xml

    Tamim Attafi authored and Tamim Attafi committed Feb 10, 2022
    Configuration menu
    Copy the full SHA
    605e9cc View commit details
    Browse the repository at this point in the history
  10. update: Migrate to material components

    Tamim Attafi authored and Tamim Attafi committed Feb 10, 2022
    Configuration menu
    Copy the full SHA
    700907a View commit details
    Browse the repository at this point in the history
  11. fix: Oval shape is sharp for rectangles

    Tamim Attafi authored and Tamim Attafi committed Feb 10, 2022
    Configuration menu
    Copy the full SHA
    a288797 View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2022

  1. refactor: Use LruCache for caching bitmaps, use 1/6 of available VM m…

    …emory
    Tamim Attafi authored and Tamim Attafi committed Feb 11, 2022
    Configuration menu
    Copy the full SHA
    2d8519c View commit details
    Browse the repository at this point in the history
  2. refactor: Add possibility to configure cache size

    Tamim Attafi authored and Tamim Attafi committed Feb 11, 2022
    Configuration menu
    Copy the full SHA
    f0c6f56 View commit details
    Browse the repository at this point in the history
  3. fix: Optimize basin shape

    Tamim Attafi authored and Tamim Attafi committed Feb 11, 2022
    Configuration menu
    Copy the full SHA
    9dbaced View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2022

  1. fix: put a low cache size instead of dynamic one

    Tamim Attafi authored and Tamim Attafi committed Apr 5, 2022
    Configuration menu
    Copy the full SHA
    349c266 View commit details
    Browse the repository at this point in the history