1. 06 Apr, 2021 5 commits
  2. 01 Apr, 2021 32 commits
  3. 25 Mar, 2021 1 commit
  4. 24 Mar, 2021 2 commits
    • StyledPlayerControlView: Fix view measurement issue · 2b099563
      The exo_controls_background view is supposed to fill its parent,
      and so previously used match_parent to do this. However, if the
      parent uses wrap_content for its own dimensions, the constraints
      being specified become somewhat ambiguous. The parent is supposed
      to be sizing itself to wrap its children, and one of the children
      is supposed to be sizing itself to match the parent.
      
      Intuitively for this case, you'd hope that the layout logic would
      size the parent to wrap its other children, and that the
      match_parent child would then fill the parent with its determined
      size. That's not what happens, and instead the parent ends up
      expanding to occupy all of the space available to it.
      
      This commit sets the exo_controls_background view's dimensions
      to be 0dp in the layout, to stop it from influencing the size of
      the parent. It's then expanded to fill the parent in code.
      
      Issue: #8726
      #minor-release
      PiperOrigin-RevId: 364868301
      olly committed
    • Add positions and new reasons to onPositionDiscontinuity · dc4148d5
      PiperOrigin-RevId: 364861539
      bachinger committed