Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
briar
briar
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 680
    • Issues 680
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 12
    • Merge Requests 12
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • briar
  • briarbriar
  • Merge Requests
  • !1010

Merged
Opened Dec 06, 2018 by Torsten Grote@groteOwner
  • Report abuse
Report abuse

UX for displaying multiple image attachments

  • Overview 17
  • Commits 5
  • Pipelines 5
  • Changes 22

This MR shows multiple images in the private conversation where before only one image was shown. It is the bulk of the work to support multiple images. The RecyclerView it uses is recycling views over several distinct messages and can be used to display a preview of images to be attached as well.

For simplicity, multiple images within one message bubble are fixed to two columns. If a message contains an odd number of images, the last images will span both columns and get center cropped.

The corner rounding transformation has been replaced with a new one that allows us to specify a radius for each image's corner individually.

device-2018-12-06-173309

Closes #1473 (closed)

Assignee
Assign to
Android 1.3
Milestone
Android 1.3
Assign milestone
Time tracking
Reference: briar/briar!1010
Source branch: 1473-display-multiple-images

Revert this merge request

This will create a new commit in order to revert the existing changes.

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.

Cherry-pick this merge request

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.