1. 27 Apr, 2021 1 commit
  2. 26 Apr, 2021 6 commits
  3. 25 Apr, 2021 3 commits
  4. 22 Apr, 2021 3 commits
  5. 20 Apr, 2021 6 commits
  6. 19 Apr, 2021 6 commits
  7. 18 Apr, 2021 2 commits
  8. 17 Apr, 2021 2 commits
  9. 16 Apr, 2021 2 commits
  10. 15 Apr, 2021 3 commits
  11. 14 Apr, 2021 6 commits
    • Mugurell's avatar
      Cleanup - Don't count item padding in ExpandableLayout · 5b3677aa
      Mugurell authored
      ExpandableLayout needs to iterate through all items until the one set as the
      limit of the collapsible menu and accumulate the distance.
      It adds the items height and margins but also erroneously the padding.
      Stop counting the padding if height is counted. Height contains any vertical
      padding set.
    • Mugurell's avatar
      For #9932 - Make ExpandableLayout aware of the sticky footer item index · b4e2368f
      Mugurell authored
      If the menu starts as collapsed and it has a sticky footer set the bottom item
      until which the menu should be collapsed must be shown on top of the sticky
      item's view.
      As an edgecase, if the same item is the limit of the collapsed menu and also
      the sticky footer that will be the last item shown in the collapsed menu but
      will be shown with full height.
    • Mugurell's avatar
      For #9932 - BrowserMenuAdapter is now a StickyItems Adapter · 44604be8
      Mugurell authored
      The most important new responsibilities are to update the view of the sticky
      BrowserMenu's background is only set on the parent's layout so the Adapter will
      have to set that same background to the sticky item's view such that other
      items scrolling underneath it will be totally obscured.
      Because the menu's background can be set in multiple ways (by setting a value
      for mozac_browser_menu_background / by passing a MenuStyle or like in Fenix
      having a default theme for all "above" views) BrowserMenu will offer a new
      backgroundColor property that as the single source of truth for this which can
      then be used by the Adapter.
    • Mugurell's avatar
      For #9932 - Add isSticky support to most of the menu items · 932e7b01
      Mugurell authored
      Most of the menu items should support this new property and allow AC clients to
      configure the menus such that a specific menu item will not be scrolled
      off-screen but rather anchored to the top/bottom of the menu following where
      the menu is anchored.
    • Mugurell's avatar
      For #9932 - New LayoutManager with support for sticky header / footer · ab7e1428
      Mugurell authored
      Vertical LinearLayoutManager configured with StickyItemPlacement such that:
      - if StickyItemPlacement.TOP the sticky item will not be scrolled upwards
      - if StickyItemPlacement.TOP the sticky item will not be scrolled downwards
    • Mozilla L10n Automation Bot's avatar
      Import l10n. · 78979a81
      Mozilla L10n Automation Bot authored